diff --git a/sway/commands/bind.c b/sway/commands/bind.c index f963001b..139361dd 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c @@ -86,7 +86,7 @@ static struct cmd_results * cmd_bindsym_or_bindcode(int argc, char **argv, bool binding->modifiers = 0; binding->release = false; binding->locked = false; - binding->bindcode = false; + binding->bindcode = bindcode; // Handle --release and --locked while (argc > 0) {