Fix problems with floating windows

Makes any tabbed/stacked layout a container to separate from floating
windows which may be attached to a workspace.
This commit is contained in:
Mikkel Oscar Lyderik 2016-04-01 13:36:36 +02:00
parent ec7ff769c7
commit 8d700fe008
6 changed files with 26 additions and 7 deletions

View file

@ -149,7 +149,7 @@ bool set_focused_container(swayc_t *c) {
}
// rearrange if parent container is tabbed/stacked
if (p->parent->layout == L_TABBED || p->parent->layout == L_STACKED) {
if (swayc_is_tabbed_stacked(p)) {
arrange_windows(p->parent, -1, -1);
}
} else if (p->type == C_WORKSPACE) {