mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01: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
@ -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…
Reference in New Issue
Block a user