From 9d666a08e1ec77680890a08f63e71ce6bb53b9a9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 21 Nov 2023 16:52:19 +0100 Subject: Fix reference to wlr_output_event_commit.committed This has been dropped from wlroots. Previous commit missed that. --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 53730073..e02ab32d 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -966,7 +966,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { } // Next time the output is enabled, try to re-apply the gamma LUT - if ((event->committed & WLR_OUTPUT_STATE_ENABLED) && !output->wlr_output->enabled) { + if ((event->state->committed & WLR_OUTPUT_STATE_ENABLED) && !output->wlr_output->enabled) { output->gamma_lut_changed = true; } } -- cgit v1.2.3-54-g00ecf