gamma_control_v1: Reset dirty flag

This commit is contained in:
Alexander Orzechowski 2023-06-11 10:11:38 -04:00 committed by Simon Ser
parent be14cd96cd
commit 59c27c94d3

View file

@ -584,6 +584,7 @@ static int output_repaint_timer_handler(void *data) {
struct wlr_output_state pending = {0}; struct wlr_output_state pending = {0};
if (output->gamma_lut_changed) { if (output->gamma_lut_changed) {
output->gamma_lut_changed = false;
struct wlr_gamma_control_v1 *gamma_control = struct wlr_gamma_control_v1 *gamma_control =
wlr_gamma_control_manager_v1_get_control( wlr_gamma_control_manager_v1_get_control(
server.gamma_control_manager_v1, wlr_output); server.gamma_control_manager_v1, wlr_output);