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 0a521b9e..74d9d535 100644
--- a/sway/commands/focus.c
+++ b/sway/commands/focus.c
@@ -36,7 +36,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
36 } 36 }
37 37
38 if (argc == 0) { 38 if (argc == 0) {
39 sway_seat_set_focus(seat, con); 39 seat_set_focus(seat, con);
40 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 40 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
41 } 41 }
42 42
@@ -50,7 +50,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
50 struct sway_container *next_focus = container_get_in_direction( 50 struct sway_container *next_focus = container_get_in_direction(
51 con, seat, direction); 51 con, seat, direction);
52 if (next_focus) { 52 if (next_focus) {
53 sway_seat_set_focus(seat, next_focus); 53 seat_set_focus(seat, next_focus);
54 } 54 }
55 55
56 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 56 return cmd_results_new(CMD_SUCCESS, NULL, NULL);