diff options
author | emersion <contact@emersion.fr> | 2018-09-06 10:41:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-06 10:41:49 +0200 |
commit | bea9f9c63fe3bd82343a2552f055162422d87d4d (patch) | |
tree | 4f1a8d0cc5353bc2eb1c39da8f5a8157bda9f53f /sway/commands | |
parent | Merge pull request #2587 from RyanDwyer/fix-layout-toggle-crash (diff) | |
parent | Fix management of bindings during reload (diff) | |
download | sway-bea9f9c63fe3bd82343a2552f055162422d87d4d.tar.gz sway-bea9f9c63fe3bd82343a2552f055162422d87d4d.tar.zst sway-bea9f9c63fe3bd82343a2552f055162422d87d4d.zip |
Merge pull request #2578 from RyanDwyer/fix-binding-reload
Fix management of bindings during reload
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/bind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c index 5b56ba30..047018e0 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c | |||
@@ -329,7 +329,7 @@ void seat_execute_command(struct sway_seat *seat, struct sway_binding *binding) | |||
329 | binding->command, results->error); | 329 | binding->command, results->error); |
330 | } | 330 | } |
331 | 331 | ||
332 | if (binding->flags & BINDING_RELOAD) { // free the binding if we made a copy | 332 | if (binding_copy->flags & BINDING_RELOAD) { |
333 | free_sway_binding(binding_copy); | 333 | free_sway_binding(binding_copy); |
334 | } | 334 | } |
335 | free_cmd_results(results); | 335 | free_cmd_results(results); |