aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-04 09:47:36 -0500
committerGitHub <noreply@github.com>2018-01-04 09:47:36 -0500
commit91313d3847263f3a7cd2a576b333fb4a40d5a2c5 (patch)
tree667f3438ddf84d70d21f3efecfb68ccc902d835b /sway/config.c
parentbc7011db3c9298a6cdc9ab622c18450ba184973a (diff)
parentb01a53abfb883f8767090415f1ec37b295b35146 (diff)
downloadsway-91313d3847263f3a7cd2a576b333fb4a40d5a2c5.tar.xz
Merge pull request #1539 from acrisci/bindings
Bindings
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) {
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;