diff options
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r-- | sway/commands/bind.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c index c86c39dd..4e49982a 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c @@ -373,6 +373,8 @@ static struct cmd_results *cmd_bindsym_or_bindcode(int argc, char **argv, binding->input = strdup(argv[0] + strlen("--input-device=")); } else if (strcmp("--no-warn", argv[0]) == 0) { warn = false; + } else if (strcmp("--no-repeat", argv[0]) == 0) { + binding->flags |= BINDING_NOREPEAT; } else { break; } |