mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Merge pull request #2395 from RedSoxFan/create-mouse-binding-list
Create list for mouse bindings when creating new mode
This commit is contained in:
commit
f91fd78b99
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue