mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
Fix tab split focus bug
Fixes a bug where if you have a tab containing a split, then switch from a non-split tab to the split tab, focus is not changed properly.
This commit is contained in:
parent
b314a8f2cc
commit
9ca5cb7faf
@ -649,6 +649,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
|||||||
while (parent) {
|
while (parent) {
|
||||||
wl_list_remove(&parent->link);
|
wl_list_remove(&parent->link);
|
||||||
wl_list_insert(&seat->focus_stack, &parent->link);
|
wl_list_insert(&seat->focus_stack, &parent->link);
|
||||||
|
container_set_dirty(parent->container);
|
||||||
|
|
||||||
parent =
|
parent =
|
||||||
seat_container_from_container(seat,
|
seat_container_from_container(seat,
|
||||||
|
Loading…
Reference in New Issue
Block a user