aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-11-21 16:52:19 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2023-11-21 16:52:19 +0100
commit9d666a08e1ec77680890a08f63e71ce6bb53b9a9 (patch)
tree0487bbbf36c83144c758c10134be2ae7a7c6272f
parentAdd support for security-context-v1 (diff)
downloadsway-9d666a08e1ec77680890a08f63e71ce6bb53b9a9.tar.gz
sway-9d666a08e1ec77680890a08f63e71ce6bb53b9a9.tar.zst
sway-9d666a08e1ec77680890a08f63e71ce6bb53b9a9.zip
Fix reference to wlr_output_event_commit.committed
This has been dropped from wlroots. Previous commit missed that.
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
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) {
966 } 966 }
967 967
968 // Next time the output is enabled, try to re-apply the gamma LUT 968 // Next time the output is enabled, try to re-apply the gamma LUT
969 if ((event->committed & WLR_OUTPUT_STATE_ENABLED) && !output->wlr_output->enabled) { 969 if ((event->state->committed & WLR_OUTPUT_STATE_ENABLED) && !output->wlr_output->enabled) {
970 output->gamma_lut_changed = true; 970 output->gamma_lut_changed = true;
971 } 971 }
972} 972}