aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-07 00:55:50 +0100
committeremersion <contact@emersion.fr>2017-12-07 00:55:50 +0100
commit088ff9a614904181f68c861769655fac119bd8a0 (patch)
tree3d71efc0de2ef9cd009ed1ececbd9f9348dce87a /include/wlr
parentc7900663bc24e575b13a83ce77b7d46e8837d784 (diff)
Listen to display destroy in gamma control manager
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_gamma_control.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_gamma_control.h b/include/wlr/types/wlr_gamma_control.h
index 59f18494..d3f4b8e5 100644
--- a/include/wlr/types/wlr_gamma_control.h
+++ b/include/wlr/types/wlr_gamma_control.h
@@ -5,7 +5,9 @@
struct wlr_gamma_control_manager {
struct wl_global *wl_global;
- struct wl_list controls; // list of wlr_gamma_control
+ struct wl_list controls; // wlr_gamma_control::link
+
+ struct wl_listener display_destroy;
void *data;
};