aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootston/config.c1
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");