From 6deb7268738699ba9d654db5aba53866184f1fda Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 22 Oct 2018 18:36:47 +1000 Subject: Fix crash when quitting a QT app on the wayland backend using menu QT unmaps the view before destroying the popup. We destroyed the popup in response to the view unmapping, but then we'd attempt to destroy it a second time which caused a crash. The patch removes the listener. I tested it with GTK as well, and can confirm the popup is still being destroyed. --- include/sway/tree/view.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index dc1f0b02..a0b4dd46 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -226,7 +226,6 @@ struct sway_view_child { struct wl_listener surface_map; struct wl_listener surface_unmap; struct wl_listener surface_destroy; - struct wl_listener view_unmap; }; struct sway_xdg_popup_v6 { -- cgit v1.2.3-54-g00ecf