aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-06-11 10:11:38 -0400
committerSimon Ser <contact@emersion.fr>2023-06-11 20:53:39 +0200
commit59c27c94d3981ae65136942288dbf0e9d28b3a24 (patch)
treecce78d1864cae2a1aac5a83d3496953607a03d35
parentbe14cd96cd81270b3a34742f9a25fe21adf4f595 (diff)
gamma_control_v1: Reset dirty flag
-rw-r--r--sway/desktop/output.c1
1 files changed, 1 insertions, 0 deletions
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);