diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 18:17:31 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 18:17:31 -0400 |
commit | 62d1b4cb96f87274d695a9c11a041c42cf59ddc1 (patch) | |
tree | f58d674fc314e9e0bd2a8141582d82b160b41b25 /sway | |
parent | e5491bf4981934736b43e239404550c3b66bb1f4 (diff) |
fix container_get_in_direction name
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/focus.c | 2 | ||||
-rw-r--r-- | sway/tree/layout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c index 64b05904..64f079f4 100644 --- a/sway/commands/focus.c +++ b/sway/commands/focus.c @@ -51,7 +51,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) { "Expected 'focus <direction|parent|child|mode_toggle>' or 'focus output <direction|name>'"); } - struct sway_container *next_focus = get_swayc_in_direction(con, seat, direction); + struct sway_container *next_focus = container_get_in_direction(con, seat, direction); if (next_focus) { sway_seat_set_focus(seat, next_focus); } diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 5152e523..fb34573f 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -587,7 +587,7 @@ static struct sway_container *get_swayc_in_direction_under(struct sway_container } } -struct sway_container *get_swayc_in_direction(struct sway_container *container, struct sway_seat *seat, +struct sway_container *container_get_in_direction(struct sway_container *container, struct sway_seat *seat, enum movement_direction dir) { return get_swayc_in_direction_under(container, dir, seat, NULL); } |