aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/bind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 49b511ad..767c2fee 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -478,6 +478,8 @@ struct cmd_results *cmd_bind_or_unbind_switch(int argc, char **argv,
binding->flags |= BINDING_LOCKED;
} else if (strcmp("--no-warn", argv[0]) == 0) {
warn = false;
+ } else if (strcmp("--reload", argv[0]) == 0) {
+ binding->flags |= BINDING_RELOAD;
} else {
break;
}