From 00a00aacef7e9995d4cd1177ce1258a96f56d5c9 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Tue, 31 Jul 2018 23:49:42 -0400 Subject: Create list for mouse binds when creating new mode --- sway/commands/mode.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3-54-g00ecf