aboutsummaryrefslogtreecommitdiff
path: root/cmd-send-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-13 16:01:46 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-13 16:01:46 +0100
commit0a11f1607b9f3623dce287d4940bb925b533a340 (patch)
tree381726321744f6e0ad4e454409dc74498965c82c /cmd-send-keys.c
parent8f2b5d714a9f854c9583cab8bae70a2c7323fa00 (diff)
parent9a65102bfc2ed5d1e1f41e47451b8296c84f133d (diff)
downloadrtmux-0a11f1607b9f3623dce287d4940bb925b533a340.tar.gz
rtmux-0a11f1607b9f3623dce287d4940bb925b533a340.tar.bz2
rtmux-0a11f1607b9f3623dce287d4940bb925b533a340.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 384cb460..1f70db16 100644
--- a/cmd-send-keys.c
+++ b/cmd-send-keys.c
@@ -134,13 +134,13 @@ static enum cmd_retval
cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item)
{
struct args *args = cmd_get_args(self);
- struct cmdq_shared *shared = cmdq_get_shared(item);
+ struct cmdq_state *state = cmdq_get_state(item);
struct cmd_find_state *target = cmdq_get_target(item);
struct client *c = cmd_find_client(item, NULL, 1);
struct window_pane *wp = target->wp;
struct session *s = target->s;
struct winlink *wl = target->wl;
- struct mouse_event *m = &shared->mouse;
+ struct mouse_event *m = &state->event.m;
struct window_mode_entry *wme = TAILQ_FIRST(&wp->modes);
int i;
key_code key;