diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-08-01 14:21:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-01 14:21:18 +1000 |
commit | f91fd78b99643ba9cb45c8be23df9dde087e631b (patch) | |
tree | e2523184111f3901e5550c2a46b281d891f10b44 /sway/commands/mode.c | |
parent | Merge pull request #2390 from emersion/fix-fullscreen-segfault (diff) | |
parent | Create list for mouse binds when creating new mode (diff) | |
download | sway-f91fd78b99643ba9cb45c8be23df9dde087e631b.tar.gz sway-f91fd78b99643ba9cb45c8be23df9dde087e631b.tar.zst sway-f91fd78b99643ba9cb45c8be23df9dde087e631b.zip |
Merge pull request #2395 from RedSoxFan/create-mouse-binding-list
Create list for mouse bindings when creating new mode
Diffstat (limited to 'sway/commands/mode.c')
-rw-r--r-- | sway/commands/mode.c | 1 |
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) { | |||
56 | mode->name = strdup(mode_name); | 56 | mode->name = strdup(mode_name); |
57 | mode->keysym_bindings = create_list(); | 57 | mode->keysym_bindings = create_list(); |
58 | mode->keycode_bindings = create_list(); | 58 | mode->keycode_bindings = create_list(); |
59 | mode->mouse_bindings = create_list(); | ||
59 | mode->pango = pango; | 60 | mode->pango = pango; |
60 | list_add(config->modes, mode); | 61 | list_add(config->modes, mode); |
61 | } | 62 | } |