aboutsummaryrefslogtreecommitdiffstats
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, 2 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index b591ae9e..312e0779 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -53,7 +53,8 @@ static void config_defaults(struct sway_config *config) {
53 goto cleanup; 53 goto cleanup;
54 if (!(config->current_mode->name = malloc(sizeof("default")))) goto cleanup; 54 if (!(config->current_mode->name = malloc(sizeof("default")))) goto cleanup;
55 strcpy(config->current_mode->name, "default"); 55 strcpy(config->current_mode->name, "default");
56 if (!(config->current_mode->bindings = create_list())) goto cleanup; 56 if (!(config->current_mode->keysym_bindings = create_list())) goto cleanup;
57 if (!(config->current_mode->keycode_bindings = create_list())) goto cleanup;
57 list_add(config->modes, config->current_mode); 58 list_add(config->modes, config->current_mode);
58 59
59 config->floating_mod = 0; 60 config->floating_mod = 0;