aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r--sway/commands/bind.c2
1 files changed, 1 insertions, 1 deletions
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) {