diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-01 07:00:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-01 07:00:21 -0400 |
commit | e903a69698aabfd5469db2aa6b75bcd708574a16 (patch) | |
tree | e9c5b46262447f04bc183f6360e49364b9e301cc | |
parent | c7c0d34e920dea27cab3b88c50b1202343a54435 (diff) | |
parent | 46c80fa51e23ed770b261ec930e93b6369f3ce68 (diff) |
Merge pull request #366 from martinetd/no_config_start
rootston: fix startup with no config
-rw-r--r-- | rootston/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/config.c b/rootston/config.c index b3fd4f01..18138ab0 100644 --- a/rootston/config.c +++ b/rootston/config.c @@ -361,6 +361,7 @@ struct roots_config *parse_args(int argc, char *argv[]) { add_binding_config(&config->bindings, "Alt+Tab", "next_window"); struct keyboard_config *kc = calloc(1, sizeof(struct keyboard_config)); kc->meta_key = WLR_MODIFIER_LOGO; + kc->name = strdup(""); wl_list_insert(&config->keyboards, &kc->link); } else if (result == -2) { wlr_log(L_ERROR, "Could not allocate memory to parse config file"); |