mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Add support for nested tabbed/stacked containers
This commit is contained in:
parent
3955c66ce8
commit
3e1f78ab26
8 changed files with 234 additions and 78 deletions
|
|
@ -149,8 +149,9 @@ bool set_focused_container(swayc_t *c) {
|
|||
}
|
||||
|
||||
// rearrange if parent container is tabbed/stacked
|
||||
if (swayc_is_tabbed_stacked(p)) {
|
||||
arrange_windows(p->parent, -1, -1);
|
||||
swayc_t *parent = swayc_tabbed_stacked_parent(p);
|
||||
if (parent != NULL) {
|
||||
arrange_windows(parent, -1, -1);
|
||||
}
|
||||
} else if (p->type == C_WORKSPACE) {
|
||||
// remove previous focus if view_focus is unlocked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue