From 9ca5cb7fafcea3671107eebc1a9fd6d46b1ffd9e Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 16 Jul 2018 18:09:35 +1000 Subject: 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. --- sway/input/seat.c | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3