aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-08 11:17:56 +0100
committeremersion <contact@emersion.fr>2017-12-08 11:17:56 +0100
commit6001235b0465ba1961f8abd66a860bcf1f14fc22 (patch)
tree54990a94dfed153905686f839247d774a5430a06 /include/wlr
parente30b943fbd33c71f633deaf3f55279d30f214929 (diff)
Listen to display destroy in session
It's not the backend's responsibility to destroy the session anymore.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h
index 5c822ea9..3242a13f 100644
--- a/include/wlr/backend/session.h
+++ b/include/wlr/backend/session.h
@@ -33,6 +33,8 @@ struct wlr_session {
struct wl_event_source *udev_event;
struct wl_list devices;
+
+ struct wl_listener display_destroy;
};
/*