aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-07-31 23:49:42 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-07-31 23:49:42 -0400
commit00a00aacef7e9995d4cd1177ce1258a96f56d5c9 (patch)
treee2523184111f3901e5550c2a46b281d891f10b44 /sway
parentf19add2702f1215bf58aa8790bf3f46e50800e57 (diff)
downloadsway-00a00aacef7e9995d4cd1177ce1258a96f56d5c9.tar.xz
Create list for mouse binds when creating new mode
Diffstat (limited to 'sway')
-rw-r--r--sway/commands/mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/mode.c b/sway/commands/mode.c
index b460fcb5..637ca45e 100644
--- a/sway/commands/mode.c
+++ b/sway/commands/mode.c
@@ -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);
}