diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:37:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 20:37:05 -0500 |
commit | 08569aab36837bf1a43c9c7c8445aa13dc78a814 (patch) | |
tree | c13e55770214133ac4301575a4eacf9dd3c6aa79 /sway/config.c | |
parent | Merge pull request #3397 from RedSoxFan/fix-swaybar-height (diff) | |
parent | reload: reset input configs (diff) | |
download | sway-08569aab36837bf1a43c9c7c8445aa13dc78a814.tar.gz sway-08569aab36837bf1a43c9c7c8445aa13dc78a814.tar.zst sway-08569aab36837bf1a43c9c7c8445aa13dc78a814.zip |
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.c | 2 |
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) { | |||
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; |