aboutsummaryrefslogtreecommitdiff
path: root/cmd-send-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-12 11:02:25 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-12 11:02:25 +0100
commit180bbab1fc39176885f8af777b24f455c14fff57 (patch)
treebb07f09e58bacb1f71875e14b8e7b3260793db94 /cmd-send-keys.c
parent69c59c52b6b7b188738e1a7e7ec215c0fa9c0e05 (diff)
parenta13165523598fa7670ebc95f3cfb5c892d08745a (diff)
downloadrtmux-180bbab1fc39176885f8af777b24f455c14fff57.tar.gz
rtmux-180bbab1fc39176885f8af777b24f455c14fff57.tar.bz2
rtmux-180bbab1fc39176885f8af777b24f455c14fff57.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-send-keys.c')
-rw-r--r--cmd-send-keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c
index 814755f3..fd1c1ab9 100644
--- a/cmd-send-keys.c
+++ b/cmd-send-keys.c
@@ -67,7 +67,7 @@ cmd_send_keys_inject(struct client *c, struct cmd_find_state *fs,
if (wme == NULL || wme->mode->key_table == NULL) {
if (options_get_number(fs->wp->window->options, "xterm-keys"))
key |= KEYC_XTERM;
- window_pane_key(fs->wp, NULL, fs->s, fs->wl, key, NULL);
+ window_pane_key(fs->wp, item->client, fs->s, fs->wl, key, NULL);
return (item);
}
table = key_bindings_get_table(wme->mode->key_table(wme), 1);
@@ -132,7 +132,7 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item)
cmdq_error(item, "no mouse target");
return (CMD_RETURN_ERROR);
}
- window_pane_key(wp, NULL, s, wl, m->key, m);
+ window_pane_key(wp, item->client, s, wl, m->key, m);
return (CMD_RETURN_NORMAL);
}