aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-05 16:48:11 -0400
committeremersion <contact@emersion.fr>2018-04-05 16:48:11 -0400
commitf5e5b1819bf88841f6f42fdfe416fa588abbeeb5 (patch)
tree6b0c006f0d9d59151abc9b4cb20a806273ec6528 /sway/tree/view.c
parent45f93e165096ed04c4d1152523502ae5fc760632 (diff)
Track damage of xdg-shell-v6 popups
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 85fd3093..293edc95 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -176,6 +176,8 @@ void view_unmap(struct sway_view *view) {
struct sway_container *parent = container_destroy(view->swayc);
+ wl_list_remove(&view->surface_new_subsurface.link);
+
view->swayc = NULL;
view->surface = NULL;