view: remove foreign toplevel listeners on destroy

This commit is contained in:
Ronan Pigott 2020-08-03 12:22:03 -07:00
parent e9d2bb716b
commit c0d16f3427
2 changed files with 15 additions and 0 deletions

View file

@ -101,6 +101,7 @@ struct sway_view {
struct wl_listener foreign_activate_request;
struct wl_listener foreign_fullscreen_request;
struct wl_listener foreign_close_request;
struct wl_listener foreign_destroy;
bool destroying;