aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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) {
}
// 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;
}
}