commit 82b3b587dd2b64117f4b138437b5ac29bda19fe8 parent e7261e291766f6cbfb947ded4906ed8e6664b7bd Author: Brian Ashworth <bosrsf04@gmail.com> Date: Wed, 6 Jun 2018 19:38:38 -0400 Remove tab/stack check for focusing after a split Diffstat:
| M | sway/tree/layout.c | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git 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);