diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-27 10:08:18 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-27 12:31:06 -0500 |
commit | ba69f06695c24f98a05d138a53ba130108ebce6f (patch) | |
tree | e36dac0c2088492117fb46404cad3a5fb28dffbe /sway/config.c | |
parent | e1c5adc918a95209b432b89a75114e2cd20412a4 (diff) |
binding config
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 3 |
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) { goto cleanup; if (!(config->current_mode->name = malloc(sizeof("default")))) goto cleanup; strcpy(config->current_mode->name, "default"); - if (!(config->current_mode->bindings = create_list())) goto cleanup; + if (!(config->current_mode->keysym_bindings = create_list())) goto cleanup; + if (!(config->current_mode->keycode_bindings = create_list())) goto cleanup; list_add(config->modes, config->current_mode); config->floating_mod = 0; |