aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 21:01:33 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-02 21:01:33 -0400
commit2c165e1288cbb60f5e677595e35f58a9c56c7010 (patch)
tree8dc7105631a62ce2635bb18cf26abea5d02e7837 /sway/tree/view.c
parentcleanup split command handlers (diff)
downloadsway-2c165e1288cbb60f5e677595e35f58a9c56c7010.tar.gz
sway-2c165e1288cbb60f5e677595e35f58a9c56c7010.tar.zst
sway-2c165e1288cbb60f5e677595e35f58a9c56c7010.zip
fix more close segfaults
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 09c804e4..4e695b5f 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -84,7 +84,7 @@ struct sway_container *container_view_destroy(struct sway_container *view) {
84 } 84 }
85 wlr_log(L_DEBUG, "Destroying view '%s'", view->name); 85 wlr_log(L_DEBUG, "Destroying view '%s'", view->name);
86 struct sway_container *parent = container_destroy(view); 86 struct sway_container *parent = container_destroy(view);
87 arrange_windows(parent, -1, -1); 87 arrange_windows(&root_container, -1, -1);
88 return parent; 88 return parent;
89} 89}
90 90