diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-27 08:16:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-27 08:16:49 -0400 |
commit | 792f98c2f0f7685fa47fc4b91127405e5a35e0d4 (patch) | |
tree | 83942690a67794aae05769c51b7fab332c50074b /backend/session | |
parent | c6955fa89c36571bbddc87a7acd589e6cb0fe0a3 (diff) | |
parent | 20db29779e0ba0bc43fe1d1935e7e6ffc8390d11 (diff) |
Merge pull request #1200 from alexbakker/destroy-signal
Add destroy signals to types that are destroyed by wl_display_destroy
Diffstat (limited to 'backend/session')
-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); |