mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
Remove tab/stack check for focusing after a split
This commit is contained in:
parent
e7261e2917
commit
82b3b587dd
1 changed files with 1 additions and 4 deletions
|
@ -899,10 +899,7 @@ struct sway_container *container_split(struct sway_container *child,
|
||||||
|
|
||||||
if (set_focus) {
|
if (set_focus) {
|
||||||
seat_set_focus(seat, cont);
|
seat_set_focus(seat, cont);
|
||||||
if (cont->parent->layout == L_TABBED
|
seat_set_focus(seat, child);
|
||||||
|| cont->parent->layout == L_STACKED) {
|
|
||||||
seat_set_focus(seat, child);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
container_notify_subtree_changed(cont);
|
container_notify_subtree_changed(cont);
|
||||||
|
|
Loading…
Reference in a new issue