diff options
author | Simon Ser <contact@emersion.fr> | 2023-03-06 11:17:30 +0100 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-08 18:47:46 +0000 |
commit | 70c1a5724814d2f786f7d3a0e55a05f11af14029 (patch) | |
tree | 59aec12e223439fd878359e12e428cb2f513a6f3 /include/wlr | |
parent | 1bf245e0fe8ab41308459f4c49ab1c1c31f054e7 (diff) |
gamma-control-v1: introduce set_gamma event
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_gamma_control_v1.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_gamma_control_v1.h b/include/wlr/types/wlr_gamma_control_v1.h index 02557148..3d2a4382 100644 --- a/include/wlr/types/wlr_gamma_control_v1.h +++ b/include/wlr/types/wlr_gamma_control_v1.h @@ -11,14 +11,21 @@ struct wlr_gamma_control_manager_v1 { struct { struct wl_signal destroy; + struct wl_signal set_gamma; // struct wlr_gamma_control_manager_v1_set_gamma_event } events; void *data; }; +struct wlr_gamma_control_manager_v1_set_gamma_event { + struct wlr_output *output; + struct wlr_gamma_control_v1 *control; // may be NULL +}; + struct wlr_gamma_control_v1 { struct wl_resource *resource; struct wlr_output *output; + struct wlr_gamma_control_manager_v1 *manager; struct wl_list link; uint16_t *table; |