From 4696f49ecc69aa86ea6bd53fc08abf6a32b4a414 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 9 Jan 2019 00:09:20 -0500 Subject: 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`. --- sway/config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/config.c') 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) { memcpy(&config->swaynag_config_errors, &old_config->swaynag_config_errors, sizeof(struct swaynag_instance)); + + input_manager_reset_all_inputs(); } config->current_config_path = path; -- cgit v1.2.3-54-g00ecf