diff options
author | Alexander Bakker <ab@alexbakker.me> | 2018-08-26 23:23:12 +0200 |
---|---|---|
committer | Alexander Bakker <ab@alexbakker.me> | 2018-08-26 23:23:12 +0200 |
commit | 20db29779e0ba0bc43fe1d1935e7e6ffc8390d11 (patch) | |
tree | 83942690a67794aae05769c51b7fab332c50074b /backend | |
parent | c6955fa89c36571bbddc87a7acd589e6cb0fe0a3 (diff) |
Add destroy signals to types that are destroyed by wl_display_destroy
Diffstat (limited to 'backend')
-rw-r--r-- | backend/session/session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/session/session.c b/backend/session/session.c index f1cce8bc..e071c679 100644 --- a/backend/session/session.c +++ b/backend/session/session.c @@ -125,6 +125,7 @@ void wlr_session_destroy(struct wlr_session *session) { return; } + wlr_signal_emit_safe(&session->events.destroy, session); wl_list_remove(&session->display_destroy.link); wl_event_source_remove(session->udev_event); |