diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-09 00:09:20 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-09 11:24:15 -0500 |
commit | 4696f49ecc69aa86ea6bd53fc08abf6a32b4a414 (patch) | |
tree | 67c4e3d792c49ac7fbf6311c8b0d842768d29bc4 /sway/config.c | |
parent | Reset container dimensions when moving into workspace from direction (diff) | |
download | sway-4696f49ecc69aa86ea6bd53fc08abf6a32b4a414.tar.gz sway-4696f49ecc69aa86ea6bd53fc08abf6a32b4a414.tar.zst sway-4696f49ecc69aa86ea6bd53fc08abf6a32b4a414.zip |
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`.
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index f99f043c..cd0857f4 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -387,6 +387,8 @@ bool load_main_config(const char *file, bool is_active, bool validating) { | |||
387 | memcpy(&config->swaynag_config_errors, | 387 | memcpy(&config->swaynag_config_errors, |
388 | &old_config->swaynag_config_errors, | 388 | &old_config->swaynag_config_errors, |
389 | sizeof(struct swaynag_instance)); | 389 | sizeof(struct swaynag_instance)); |
390 | |||
391 | input_manager_reset_all_inputs(); | ||
390 | } | 392 | } |
391 | 393 | ||
392 | config->current_config_path = path; | 394 | config->current_config_path = path; |