aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-15 16:03:45 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-15 16:03:45 -0400
commitf606508bccac841925e8d669fe90595697fac8af (patch)
treee150b723ffb01ab4b482fc9f7d2fccda8daaf6bf /sway/container.c
parentd5ff5e98fabfef53958b2a6782578756ba29fb7b (diff)
Fix switching focus between outputs
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) {
}
swayc_t *destroy_workspace(swayc_t *workspace) {
+ //NOTE: This is called from elsewhere without checking children length
//TODO move containers to other workspaces?
//for now just dont delete
if (workspace->children->length == 0) {