mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
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.
This commit is contained in:
parent
a918844e52
commit
6deb726873
2 changed files with 0 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue