From 088ff9a614904181f68c861769655fac119bd8a0 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 7 Dec 2017 00:55:50 +0100 Subject: Listen to display destroy in gamma control manager --- include/wlr/types/wlr_gamma_control.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/wlr') 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; }; -- cgit v1.2.3