aboutsummaryrefslogtreecommitdiffstats
path: root/sway/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c
index 189f064b..98941b2c 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -157,6 +157,7 @@ swayc_t *destroy_output(swayc_t *output) {
157} 157}
158 158
159swayc_t *destroy_workspace(swayc_t *workspace) { 159swayc_t *destroy_workspace(swayc_t *workspace) {
160 //NOTE: This is called from elsewhere without checking children length
160 //TODO move containers to other workspaces? 161 //TODO move containers to other workspaces?
161 //for now just dont delete 162 //for now just dont delete
162 if (workspace->children->length == 0) { 163 if (workspace->children->length == 0) {