mirror of
https://github.com/swaywm/sway.git
synced 2026-04-27 06:46:25 -04:00
reload: reset input configs
This resets all input options to their defaults on reload. This also fixes some debug log typos in `input_manager_libinput_config_pointer`.
This commit is contained in:
parent
14cab78612
commit
4696f49ecc
5 changed files with 215 additions and 3 deletions
|
|
@ -387,6 +387,8 @@ bool load_main_config(const char *file, bool is_active, bool validating) {
|
|||
memcpy(&config->swaynag_config_errors,
|
||||
&old_config->swaynag_config_errors,
|
||||
sizeof(struct swaynag_instance));
|
||||
|
||||
input_manager_reset_all_inputs();
|
||||
}
|
||||
|
||||
config->current_config_path = path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue