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:
Ryan Dwyer 2018-07-16 18:09:35 +10:00
parent b314a8f2cc
commit 9ca5cb7faf

View file

@ -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,