mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
config: apply input type configs on reload
When making the reload validation improvements, I forgot that input type configs are stored in a separate list. This makes it so input type configs are correctly applied on reload.
This commit is contained in:
parent
ad189d27f9
commit
fe7ec8024c
1 changed files with 5 additions and 0 deletions
|
@ -529,6 +529,11 @@ bool load_main_config(const char *file, bool is_active, bool validating) {
|
|||
input_manager_apply_input_config(config->input_configs->items[i]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < config->input_type_configs->length; i++) {
|
||||
input_manager_apply_input_config(
|
||||
config->input_type_configs->items[i]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < config->seat_configs->length; i++) {
|
||||
input_manager_apply_seat_config(config->seat_configs->items[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue