summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-16 18:09:35 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-16 18:09:35 +1000
commit9ca5cb7fafcea3671107eebc1a9fd6d46b1ffd9e (patch)
treee0a8829494541fddceb72a1b8b0668121367f5cf
parentMerge pull request #2280 from ianyfan/leaks (diff)
downloadsway-9ca5cb7fafcea3671107eebc1a9fd6d46b1ffd9e.tar.gz
sway-9ca5cb7fafcea3671107eebc1a9fd6d46b1ffd9e.tar.zst
sway-9ca5cb7fafcea3671107eebc1a9fd6d46b1ffd9e.zip
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.
-rw-r--r--sway/input/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 74f1375e..85321dbe 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -649,6 +649,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
649 while (parent) { 649 while (parent) {
650 wl_list_remove(&parent->link); 650 wl_list_remove(&parent->link);
651 wl_list_insert(&seat->focus_stack, &parent->link); 651 wl_list_insert(&seat->focus_stack, &parent->link);
652 container_set_dirty(parent->container);
652 653
653 parent = 654 parent =
654 seat_container_from_container(seat, 655 seat_container_from_container(seat,