mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
rename seat functions
This commit is contained in:
parent
122b96abed
commit
e677c5b204
17 changed files with 85 additions and 85 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue