mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
gamma-control-v1: introduce set_gamma event
This commit is contained in:
parent
1bf245e0fe
commit
70c1a57248
2 changed files with 23 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue