mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05: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);
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ struct cmd_results *cmd_workspace(int argc, char **argv) {
|
|||
}
|
||||
workspace_switch(ws);
|
||||
current_container =
|
||||
sway_seat_get_focus(config->handler_context.seat);
|
||||
seat_get_focus(config->handler_context.seat);
|
||||
struct sway_container *new_output = container_parent(current_container, C_OUTPUT);
|
||||
|
||||
if (config->mouse_warping && old_output != new_output) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue