mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
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:
parent
ec7ff769c7
commit
8d700fe008
6 changed files with 26 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue