summaryrefslogtreecommitdiffstats
path: root/sway/commands/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/focus.c')
-rw-r--r--sway/commands/focus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c
index 64f079f4..4fb732dd 100644
--- a/sway/commands/focus.c
+++ b/sway/commands/focus.c
@@ -40,7 +40,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
40 } 40 }
41 41
42 if (argc == 0) { 42 if (argc == 0) {
43 sway_seat_set_focus(seat, con); 43 seat_set_focus(seat, con);
44 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 44 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
45 } 45 }
46 46
@@ -53,7 +53,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
53 53
54 struct sway_container *next_focus = container_get_in_direction(con, seat, direction); 54 struct sway_container *next_focus = container_get_in_direction(con, seat, direction);
55 if (next_focus) { 55 if (next_focus) {
56 sway_seat_set_focus(seat, next_focus); 56 seat_set_focus(seat, next_focus);
57 } 57 }
58 58
59 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 59 return cmd_results_new(CMD_SUCCESS, NULL, NULL);