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->keysym_bindings = create_list();
mode->keycode_bindings = create_list();
mode->mouse_bindings = create_list();
mode->pango = pango;
list_add(config->modes, mode);
}