Listen to display destroy in backends

This commit is contained in:
emersion 2017-12-07 23:44:59 +01:00
parent bdb6e0b84c
commit 9d43adaafa
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 130 additions and 70 deletions

View file

@ -16,6 +16,7 @@ struct wlr_libinput_backend {
struct libinput *libinput_context;
struct wl_event_source *input_event;
struct wl_listener display_destroy;
struct wl_listener session_signal;
struct wlr_list wlr_device_lists; // list of struct wl_list