aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/mode.c')
-rw-r--r--sway/commands/mode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/commands/mode.c b/sway/commands/mode.c
index e23e4ee4..7263efcb 100644
--- a/sway/commands/mode.c
+++ b/sway/commands/mode.c
@@ -11,10 +11,12 @@
11// Must be in order for the bsearch 11// Must be in order for the bsearch
12static const struct cmd_handler mode_handlers[] = { 12static const struct cmd_handler mode_handlers[] = {
13 { "bindcode", cmd_bindcode }, 13 { "bindcode", cmd_bindcode },
14 { "bindgesture", cmd_bindgesture },
14 { "bindswitch", cmd_bindswitch }, 15 { "bindswitch", cmd_bindswitch },
15 { "bindsym", cmd_bindsym }, 16 { "bindsym", cmd_bindsym },
16 { "set", cmd_set }, 17 { "set", cmd_set },
17 { "unbindcode", cmd_unbindcode }, 18 { "unbindcode", cmd_unbindcode },
19 { "unbindgesture", cmd_unbindgesture },
18 { "unbindswitch", cmd_unbindswitch }, 20 { "unbindswitch", cmd_unbindswitch },
19 { "unbindsym", cmd_unbindsym }, 21 { "unbindsym", cmd_unbindsym },
20}; 22};
@@ -59,6 +61,7 @@ struct cmd_results *cmd_mode(int argc, char **argv) {
59 mode->keycode_bindings = create_list(); 61 mode->keycode_bindings = create_list();
60 mode->mouse_bindings = create_list(); 62 mode->mouse_bindings = create_list();
61 mode->switch_bindings = create_list(); 63 mode->switch_bindings = create_list();
64 mode->gesture_bindings = create_list();
62 mode->pango = pango; 65 mode->pango = pango;
63 list_add(config->modes, mode); 66 list_add(config->modes, mode);
64 } 67 }