Listen to display destroy in gamma control manager

This commit is contained in:
emersion 2017-12-07 00:55:50 +01:00
parent c7900663bc
commit 088ff9a614
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 41 additions and 28 deletions

View file

@ -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;
};