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:
Simon Ser 2024-02-16 16:09:01 +01:00
parent 541e6e260c
commit cbf06cfdfb

View File

@ -238,7 +238,7 @@ static int output_repaint_timer_handler(void *data) {
if (output->gamma_lut_changed) {
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)) {
return 0;
}