aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-09 10:01:17 +0100
committerGitHub <noreply@github.com>2019-01-09 10:01:17 +0100
commitd06782c5e71fb1a6229c1add16bae0dbf919c5c1 (patch)
tree7a6af7be87d049433b56ea3d0f12e1b1c11611be /sway/config.c
parent8daea2bfec4a92babe4ffa89eb28c8f9ba92cf84 (diff)
parentf33969358c77ea440677a97b4f9a5fb2013ca5ea (diff)
Merge pull request #3386 from RedSoxFan/seat-reload-wait
reload: apply seat cfgs after reading entire cfg
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 8a0b293c..dfbe4cb9 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -463,7 +463,11 @@ bool load_main_config(const char *file, bool is_active, bool validating) {
if (config->swaynag_config_errors.pid > 0) {
swaynag_show(&config->swaynag_config_errors);
}
+
input_manager_verify_fallback_seat();
+ for (int i = 0; i < config->seat_configs->length; i++) {
+ input_manager_apply_seat_config(config->seat_configs->items[i]);
+ }
}
if (old_config) {