diff options
Diffstat (limited to 'sway/commands/focus.c')
-rw-r--r-- | sway/commands/focus.c | 2 |
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) { | |||
261 | } | 261 | } |
262 | 262 | ||
263 | if (direction == MOVE_CHILD) { | 263 | if (direction == MOVE_CHILD) { |
264 | struct sway_node *focus = seat_get_active_child(seat, node); | 264 | struct sway_node *focus = seat_get_active_tiling_child(seat, node); |
265 | if (focus) { | 265 | if (focus) { |
266 | seat_set_focus(seat, focus); | 266 | seat_set_focus(seat, focus); |
267 | cursor_send_pointer_motion(seat->cursor, 0, true); | 267 | cursor_send_pointer_motion(seat->cursor, 0, true); |