From 20db29779e0ba0bc43fe1d1935e7e6ffc8390d11 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Sun, 26 Aug 2018 23:23:12 +0200 Subject: Add destroy signals to types that are destroyed by wl_display_destroy --- backend/session/session.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend') 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); -- cgit v1.2.3