aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r--sway/commands/bind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c
index 4e49982a..de2e7bd4 100644
--- a/sway/commands/bind.c
+++ b/sway/commands/bind.c
@@ -608,6 +608,7 @@ void seat_execute_command(struct sway_seat *seat, struct sway_binding *binding)
608 return; 608 return;
609 } 609 }
610 memcpy(deferred, binding, sizeof(struct sway_binding)); 610 memcpy(deferred, binding, sizeof(struct sway_binding));
611 deferred->command = strdup(binding->command);
611 list_add(seat->deferred_bindings, deferred); 612 list_add(seat->deferred_bindings, deferred);
612 return; 613 return;
613 } 614 }