aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/focus.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-16 10:22:01 -0400
committerGitHub <noreply@github.com>2018-09-16 10:22:01 -0400
commit456b91600d73edb3187c170eb6720b1c3212351c (patch)
tree318401a7a3c0e8f778d45e4ea26f5517e05191fa /sway/commands/focus.c
parent5192f74be132a563e30b240415b385e67cbacadb (diff)
parentf6e218a64371b02afdf6b7812a52d70b13635ef3 (diff)
downloadsway-456b91600d73edb3187c170eb6720b1c3212351c.tar.xz
Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigans
Make seat_get_active_child ignore floating children
Diffstat (limited to 'sway/commands/focus.c')
-rw-r--r--sway/commands/focus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c
index d63077e6..44adb95b 100644
--- a/sway/commands/focus.c
+++ b/sway/commands/focus.c
@@ -261,7 +261,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
}
if (direction == MOVE_CHILD) {
- struct sway_node *focus = seat_get_active_child(seat, node);
+ struct sway_node *focus = seat_get_active_tiling_child(seat, node);
if (focus) {
seat_set_focus(seat, focus);
cursor_send_pointer_motion(seat->cursor, 0, true);