mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
Pass output to wlr_output_state_init()
Update for a wlroots breaking change. References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3715
This commit is contained in:
parent
541e6e260c
commit
cbf06cfdfb
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ static int output_repaint_timer_handler(void *data) {
|
||||||
|
|
||||||
if (output->gamma_lut_changed) {
|
if (output->gamma_lut_changed) {
|
||||||
struct wlr_output_state pending;
|
struct wlr_output_state pending;
|
||||||
wlr_output_state_init(&pending);
|
wlr_output_state_init(&pending, output->wlr_output);
|
||||||
if (!wlr_scene_output_build_state(output->scene_output, &pending, NULL)) {
|
if (!wlr_scene_output_build_state(output->scene_output, &pending, NULL)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue