diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 2 |
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) { | |||
176 | 176 | ||
177 | struct sway_container *parent = container_destroy(view->swayc); | 177 | struct sway_container *parent = container_destroy(view->swayc); |
178 | 178 | ||
179 | wl_list_remove(&view->surface_new_subsurface.link); | ||
180 | |||
179 | view->swayc = NULL; | 181 | view->swayc = NULL; |
180 | view->surface = NULL; | 182 | view->surface = NULL; |
181 | 183 | ||