aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-16 18:09:35 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-16 18:09:35 +1000
commit9ca5cb7fafcea3671107eebc1a9fd6d46b1ffd9e (patch)
treee0a8829494541fddceb72a1b8b0668121367f5cf /sway/input/seat.c
parentb314a8f2cc792aa59d8f12e5adb9aed2967af646 (diff)
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.
Diffstat (limited to 'sway/input/seat.c')
-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,
while (parent) {
wl_list_remove(&parent->link);
wl_list_insert(&seat->focus_stack, &parent->link);
+ container_set_dirty(parent->container);
parent =
seat_container_from_container(seat,