[PATCH weston] xwayland: Remove transform listener when destroying the wm

Louis-Francis Ratté-Boulianne louis-francis.ratte-boulianne at collabora.co.uk
Fri Jul 19 21:16:45 PDT 2013


Fix a segfault occuring after the last X window was closed.
---
 src/xwayland/window-manager.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index fd91004..57a5d99 100644
--- a/src/xwayland/window-manager.c
+++ b/src/xwayland/window-manager.c
@@ -2043,6 +2043,7 @@ weston_wm_destroy(struct weston_wm *wm)
 	wl_list_remove(&wm->selection_listener.link);
 	wl_list_remove(&wm->activate_listener.link);
 	wl_list_remove(&wm->kill_listener.link);
+	wl_list_remove(&wm->transform_listener.link);
 
 	free(wm);
 }
-- 
1.7.10.4



More information about the wayland-devel mailing list