diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-01-04 09:47:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 09:47:36 -0500 |
commit | 91313d3847263f3a7cd2a576b333fb4a40d5a2c5 (patch) | |
tree | 667f3438ddf84d70d21f3efecfb68ccc902d835b /sway/config.c | |
parent | bc7011db3c9298a6cdc9ab622c18450ba184973a (diff) | |
parent | b01a53abfb883f8767090415f1ec37b295b35146 (diff) | |
download | sway-91313d3847263f3a7cd2a576b333fb4a40d5a2c5.tar.xz |
Merge pull request #1539 from acrisci/bindings
Bindings
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; |