diff options
author | Simon Ser <contact@emersion.fr> | 2020-08-27 11:42:58 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-03 17:47:04 +0100 |
commit | c2db691cad17a6228cde6bbbe39b8afff5f01908 (patch) | |
tree | bd3ac70669eadfd9683c827d18111d573ec444db /include/wlr | |
parent | be1e7647c3250d67041947d77350488ae00bc3e3 (diff) |
gamma-control-v1: apply gamma LUT when output gets enabled
Closes: https://github.com/swaywm/wlroots/issues/2372
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_gamma_control_v1.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_gamma_control_v1.h b/include/wlr/types/wlr_gamma_control_v1.h index 290a86e9..b247bae3 100644 --- a/include/wlr/types/wlr_gamma_control_v1.h +++ b/include/wlr/types/wlr_gamma_control_v1.h @@ -21,6 +21,10 @@ struct wlr_gamma_control_v1 { struct wlr_output *output; struct wl_list link; + uint16_t *table; + size_t ramp_size; + + struct wl_listener output_commit_listener; struct wl_listener output_destroy_listener; void *data; |