diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-16 12:14:24 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-16 12:14:24 -0500 |
commit | f16aa3c0ad8328da0820e81c99a619835f36082f (patch) | |
tree | 4f9c99cfa6304fc5f0f3c8eef2cac17541782e55 /sway/commands.c | |
parent | put seat and input config in their own files (diff) | |
download | sway-f16aa3c0ad8328da0820e81c99a619835f36082f.tar.gz sway-f16aa3c0ad8328da0820e81c99a619835f36082f.tar.zst sway-f16aa3c0ad8328da0820e81c99a619835f36082f.zip |
rename config apply cmds
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c index 7485f2f6..3fb1842d 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -57,7 +57,7 @@ struct cmd_results *checkarg(int argc, const char *name, enum expected_args type | |||
57 | return error; | 57 | return error; |
58 | } | 58 | } |
59 | 59 | ||
60 | void input_cmd_apply(struct input_config *input) { | 60 | void apply_input_config(struct input_config *input) { |
61 | int i; | 61 | int i; |
62 | i = list_seq_find(config->input_configs, input_identifier_cmp, input->identifier); | 62 | i = list_seq_find(config->input_configs, input_identifier_cmp, input->identifier); |
63 | if (i >= 0) { | 63 | if (i >= 0) { |
@@ -74,7 +74,7 @@ void input_cmd_apply(struct input_config *input) { | |||
74 | sway_input_manager_apply_input_config(input_manager, input); | 74 | sway_input_manager_apply_input_config(input_manager, input); |
75 | } | 75 | } |
76 | 76 | ||
77 | void seat_cmd_apply(struct seat_config *seat) { | 77 | void apply_seat_config(struct seat_config *seat) { |
78 | int i; | 78 | int i; |
79 | i = list_seq_find(config->seat_configs, seat_name_cmp, seat->name); | 79 | i = list_seq_find(config->seat_configs, seat_name_cmp, seat->name); |
80 | if (i >= 0) { | 80 | if (i >= 0) { |