summaryrefslogtreecommitdiff
path: root/sway/commands/focus.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-09-16 22:01:54 +1000
committerRyan Dwyer <[email protected]>2018-09-16 22:01:54 +1000
commitf6e218a64371b02afdf6b7812a52d70b13635ef3 (patch)
tree7348bf536a2bfbdedabe28d00a3c49b1bfcb559a /sway/commands/focus.c
parent48bc15e758c37e73f3eb6ae76f4ad758148dbfb1 (diff)
Rename seat_get_active_child to seat_get_active_tiling_child
Also renames container to con in one function to prevent ugly line wrapping.
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);