Merge pull request #2395 from RedSoxFan/create-mouse-binding-list

Create list for mouse bindings when creating new mode
This commit is contained in:
Ryan Dwyer 2018-08-01 14:21:18 +10:00 committed by GitHub
commit f91fd78b99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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);
}