summaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 68d2a029..9f85bac0 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -555,6 +555,7 @@ void view_unmap(struct sway_view *view) {
555 struct sway_container *parent = container_destroy(view->swayc); 555 struct sway_container *parent = container_destroy(view->swayc);
556 arrange_and_commit(parent); 556 arrange_and_commit(parent);
557 } 557 }
558 view->surface = NULL;
558} 559}
559 560
560void view_update_position(struct sway_view *view, double lx, double ly) { 561void view_update_position(struct sway_view *view, double lx, double ly) {