From 82b3b587dd2b64117f4b138437b5ac29bda19fe8 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 6 Jun 2018 19:38:38 -0400 Subject: [PATCH] Remove tab/stack check for focusing after a split --- sway/tree/layout.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sway/tree/layout.c b/sway/tree/layout.c index fe0243b6..82502e1b 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -899,10 +899,7 @@ struct sway_container *container_split(struct sway_container *child, if (set_focus) { seat_set_focus(seat, cont); - if (cont->parent->layout == L_TABBED - || cont->parent->layout == L_STACKED) { - seat_set_focus(seat, child); - } + seat_set_focus(seat, child); } container_notify_subtree_changed(cont);