From 59c27c94d3981ae65136942288dbf0e9d28b3a24 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Sun, 11 Jun 2023 10:11:38 -0400 Subject: gamma_control_v1: Reset dirty flag --- sway/desktop/output.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/desktop') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 2bd8d6da..6b65768d 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -584,6 +584,7 @@ static int output_repaint_timer_handler(void *data) { struct wlr_output_state pending = {0}; if (output->gamma_lut_changed) { + output->gamma_lut_changed = false; struct wlr_gamma_control_v1 *gamma_control = wlr_gamma_control_manager_v1_get_control( server.gamma_control_manager_v1, wlr_output); -- cgit v1.2.3