=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-send-keys.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- src/usr.bin/tmux/cmd-send-keys.c 2019/05/09 13:12:59 1.47 +++ src/usr.bin/tmux/cmd-send-keys.c 2019/05/12 08:58:09 1.48 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-send-keys.c,v 1.47 2019/05/09 13:12:59 nicm Exp $ */ +/* $OpenBSD: cmd-send-keys.c,v 1.48 2019/05/12 08:58:09 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -67,7 +67,7 @@ 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 @@ 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); }