diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sway/commands.c b/sway/commands.c index eda29c65..51bfe13a 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -42,21 +42,6 @@ struct cmd_results *checkarg(int argc, const char *name, enum expected_args type | |||
42 | : NULL; | 42 | : NULL; |
43 | } | 43 | } |
44 | 44 | ||
45 | void apply_seat_config(struct seat_config *seat_config) { | ||
46 | int i = list_seq_find(config->seat_configs, seat_name_cmp, seat_config->name); | ||
47 | if (i >= 0) { | ||
48 | // merge existing config | ||
49 | struct seat_config *sc = config->seat_configs->items[i]; | ||
50 | merge_seat_config(sc, seat_config); | ||
51 | free_seat_config(seat_config); | ||
52 | seat_config = sc; | ||
53 | } else { | ||
54 | list_add(config->seat_configs, seat_config); | ||
55 | } | ||
56 | |||
57 | input_manager_apply_seat_config(seat_config); | ||
58 | } | ||
59 | |||
60 | /* Keep alphabetized */ | 45 | /* Keep alphabetized */ |
61 | static struct cmd_handler handlers[] = { | 46 | static struct cmd_handler handlers[] = { |
62 | { "assign", cmd_assign }, | 47 | { "assign", cmd_assign }, |