diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 08:45:37 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 08:45:37 -0400 |
commit | e677c5b204971af00d71f9a50a89206d01b46a36 (patch) | |
tree | fa94a13e95119bdd3083fb7839889f2ce3a0fca0 /sway/commands/focus.c | |
parent | Merge pull request #1684 from swaywm/follow-warp (diff) | |
download | sway-e677c5b204971af00d71f9a50a89206d01b46a36.tar.gz sway-e677c5b204971af00d71f9a50a89206d01b46a36.tar.zst sway-e677c5b204971af00d71f9a50a89206d01b46a36.zip |
rename seat functions
Diffstat (limited to 'sway/commands/focus.c')
-rw-r--r-- | sway/commands/focus.c | 4 |
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); |