rename seat functions

This commit is contained in:
Tony Crisci 2018-04-02 08:45:37 -04:00
parent 122b96abed
commit e677c5b204
17 changed files with 85 additions and 85 deletions

View file

@ -40,7 +40,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
}
if (argc == 0) {
sway_seat_set_focus(seat, con);
seat_set_focus(seat, con);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}
@ -53,7 +53,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
struct sway_container *next_focus = container_get_in_direction(con, seat, direction);
if (next_focus) {
sway_seat_set_focus(seat, next_focus);
seat_set_focus(seat, next_focus);
}
return cmd_results_new(CMD_SUCCESS, NULL, NULL);