aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 9f65e8a2..0afb0205 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -9,6 +9,7 @@
#include "commands.h"
#include "config.h"
#include "layout.h"
+#include "input_state.h"
struct sway_config *config;
@@ -147,6 +148,8 @@ _continue:
bool load_config(const char *file) {
sway_log(L_INFO, "Loading config");
+ input_init();
+
char *path;
if (file != NULL) {
path = strdup(file);