diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 08:49:38 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 08:49:38 -0400 |
commit | 0828c772514a85080c53ecade0b8b400314d5b03 (patch) | |
tree | 4e7fcb26ea1ebda57128eeb0ba4f9c79c7afbdb4 /sway/commands.c | |
parent | rename seat functions (diff) | |
download | sway-0828c772514a85080c53ecade0b8b400314d5b03.tar.gz sway-0828c772514a85080c53ecade0b8b400314d5b03.tar.zst sway-0828c772514a85080c53ecade0b8b400314d5b03.zip |
rename input-manager functions
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c index 91b44fbf..dc6c867f 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -72,7 +72,7 @@ void apply_input_config(struct input_config *input) { | |||
72 | list_add(config->input_configs, input); | 72 | list_add(config->input_configs, input); |
73 | } | 73 | } |
74 | 74 | ||
75 | sway_input_manager_apply_input_config(input_manager, input); | 75 | input_manager_apply_input_config(input_manager, input); |
76 | } | 76 | } |
77 | 77 | ||
78 | void apply_seat_config(struct seat_config *seat) { | 78 | void apply_seat_config(struct seat_config *seat) { |
@@ -88,7 +88,7 @@ void apply_seat_config(struct seat_config *seat) { | |||
88 | list_add(config->seat_configs, seat); | 88 | list_add(config->seat_configs, seat); |
89 | } | 89 | } |
90 | 90 | ||
91 | sway_input_manager_apply_seat_config(input_manager, seat); | 91 | input_manager_apply_seat_config(input_manager, seat); |
92 | } | 92 | } |
93 | 93 | ||
94 | /* Keep alphabetized */ | 94 | /* Keep alphabetized */ |
@@ -262,7 +262,7 @@ struct cmd_results *execute_command(char *_exec, struct sway_seat *seat) { | |||
262 | 262 | ||
263 | if (seat == NULL) { | 263 | if (seat == NULL) { |
264 | // passing a NULL seat means we just pick the default seat | 264 | // passing a NULL seat means we just pick the default seat |
265 | seat = sway_input_manager_get_default_seat(input_manager); | 265 | seat = input_manager_get_default_seat(input_manager); |
266 | if (!sway_assert(seat, "could not find a seat to run the command on")) { | 266 | if (!sway_assert(seat, "could not find a seat to run the command on")) { |
267 | return NULL; | 267 | return NULL; |
268 | } | 268 | } |