summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-send-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-21 14:01:19 +0000
committernicm <nicm@openbsd.org>2017-04-21 14:01:19 +0000
commitbebc73f12fb20d0fe5d2665112e006eb30001352 (patch)
tree0e68251b9e45ecf8ef494c4eaa0010ff9472d71c /usr.bin/tmux/cmd-send-keys.c
parentRepair AgentX support. (diff)
downloadwireguard-openbsd-bebc73f12fb20d0fe5d2665112e006eb30001352.tar.xz
wireguard-openbsd-bebc73f12fb20d0fe5d2665112e006eb30001352.zip
Store state shared between multiple commands in the queue in a shared
structure.
Diffstat (limited to 'usr.bin/tmux/cmd-send-keys.c')
-rw-r--r--usr.bin/tmux/cmd-send-keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-send-keys.c b/usr.bin/tmux/cmd-send-keys.c
index 636f4dd757e..75c6d379879 100644
--- a/usr.bin/tmux/cmd-send-keys.c
+++ b/usr.bin/tmux/cmd-send-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-send-keys.c,v 1.37 2017/01/07 15:28:13 nicm Exp $ */
+/* $OpenBSD: cmd-send-keys.c,v 1.38 2017/04/21 14:01:19 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -62,7 +62,7 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item)
struct client *c = item->state.c;
struct window_pane *wp = item->state.tflag.wp;
struct session *s = item->state.tflag.s;
- struct mouse_event *m = &item->mouse;
+ struct mouse_event *m = &item->shared->mouse;
struct utf8_data *ud, *uc;
wchar_t wc;
int i, literal;