Fix switching focus between outputs

This commit is contained in:
Drew DeVault 2015-08-15 16:03:45 -04:00
parent d5ff5e98fa
commit f606508bcc
2 changed files with 15 additions and 4 deletions

View file

@ -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) {