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 | Merge pull request #1535 from martinetd/libinput (diff) | |
download | sway-ba69f06695c24f98a05d138a53ba130108ebce6f.tar.gz sway-ba69f06695c24f98a05d138a53ba130108ebce6f.tar.zst sway-ba69f06695c24f98a05d138a53ba130108ebce6f.zip |
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) { | |||
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; |