From c2db691cad17a6228cde6bbbe39b8afff5f01908 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 27 Aug 2020 11:42:58 +0200 Subject: gamma-control-v1: apply gamma LUT when output gets enabled Closes: https://github.com/swaywm/wlroots/issues/2372 --- include/wlr/types/wlr_gamma_control_v1.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/wlr') 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; -- cgit v1.2.3