aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 20:37:05 -0500
committerGitHub <noreply@github.com>2019-01-13 20:37:05 -0500
commit08569aab36837bf1a43c9c7c8445aa13dc78a814 (patch)
treec13e55770214133ac4301575a4eacf9dd3c6aa79 /sway/config.c
parentfc93cd20dc108544c7cc8fced7aebed58c58a770 (diff)
parent4696f49ecc69aa86ea6bd53fc08abf6a32b4a414 (diff)
Merge pull request #3388 from RedSoxFan/reset-inputs-on-reload
reload: reset input configs
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index b14ebba7..5ca4806c 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;