summaryrefslogtreecommitdiffstats
path: root/cmd-send-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2017-05-10 10:46:59 +0000
committernicm <nicm>2017-05-10 10:46:59 +0000
commit0e3c5ebe1a229fbb8d829c9413ae013fb2eeb1ed (patch)
tree3e9cc730a24f7318dff4bd26a543dcd6993b3421 /cmd-send-keys.c
parent3712b41abaff3dcf676d2b3da916fde7b456eb42 (diff)
Insert copy mode bindings at the right place in the command queue.
Diffstat (limited to 'cmd-send-keys.c')
-rw-r--r--cmd-send-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c
index e54574fe..5c6db347 100644
--- a/cmd-send-keys.c
+++ b/cmd-send-keys.c
@@ -73,7 +73,7 @@ cmd_send_keys_inject(struct client *c, struct cmdq_item *item, key_code key)
bd = RB_FIND(key_bindings, &table->key_bindings, &bd_find);
if (bd != NULL) {
table->references++;
- key_bindings_dispatch(bd, c, NULL, &item->target);
+ key_bindings_dispatch(bd, item, c, NULL, &item->target);
key_bindings_unref_table(table);
}
}