mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
gamma_control_v1: Reset dirty flag
This commit is contained in:
parent
be14cd96cd
commit
59c27c94d3
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue