mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
Create list for mouse binds when creating new mode
This commit is contained in:
parent
f19add2702
commit
00a00aacef
@ -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 New Issue
Block a user