mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
rename input-manager functions
This commit is contained in:
parent
e677c5b204
commit
0828c77251
11 changed files with 31 additions and 32 deletions
|
|
@ -72,7 +72,7 @@ void apply_input_config(struct input_config *input) {
|
|||
list_add(config->input_configs, input);
|
||||
}
|
||||
|
||||
sway_input_manager_apply_input_config(input_manager, input);
|
||||
input_manager_apply_input_config(input_manager, input);
|
||||
}
|
||||
|
||||
void apply_seat_config(struct seat_config *seat) {
|
||||
|
|
@ -88,7 +88,7 @@ void apply_seat_config(struct seat_config *seat) {
|
|||
list_add(config->seat_configs, seat);
|
||||
}
|
||||
|
||||
sway_input_manager_apply_seat_config(input_manager, seat);
|
||||
input_manager_apply_seat_config(input_manager, seat);
|
||||
}
|
||||
|
||||
/* Keep alphabetized */
|
||||
|
|
@ -262,7 +262,7 @@ struct cmd_results *execute_command(char *_exec, struct sway_seat *seat) {
|
|||
|
||||
if (seat == NULL) {
|
||||
// passing a NULL seat means we just pick the default seat
|
||||
seat = sway_input_manager_get_default_seat(input_manager);
|
||||
seat = input_manager_get_default_seat(input_manager);
|
||||
if (!sway_assert(seat, "could not find a seat to run the command on")) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue