diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-06 19:38:38 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-06 19:38:38 -0400 |
commit | 82b3b587dd2b64117f4b138437b5ac29bda19fe8 (patch) | |
tree | 2f872b9cca4dedb5f1f0072a1126d3ab88c4511f /sway/tree | |
parent | e7261e291766f6cbfb947ded4906ed8e6664b7bd (diff) | |
download | sway-82b3b587dd2b64117f4b138437b5ac29bda19fe8.tar.xz |
Remove tab/stack check for focusing after a split
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/layout.c | 5 |
1 files changed, 1 insertions, 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); |