Create list for mouse binds when creating new mode

This commit is contained in:
Brian Ashworth 2018-07-31 23:49:42 -04:00
parent f19add2702
commit 00a00aacef

View file

@ -56,6 +56,7 @@ struct cmd_results *cmd_mode(int argc, char **argv) {
mode->name = strdup(mode_name); mode->name = strdup(mode_name);
mode->keysym_bindings = create_list(); mode->keysym_bindings = create_list();
mode->keycode_bindings = create_list(); mode->keycode_bindings = create_list();
mode->mouse_bindings = create_list();
mode->pango = pango; mode->pango = pango;
list_add(config->modes, mode); list_add(config->modes, mode);
} }