summaryrefslogtreecommitdiffstats
path: root/cmd-find.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-13 13:42:35 +0000
committernicm <nicm>2020-04-13 13:42:35 +0000
commit77d5b0cc538138fd036dca0f9b2ba198a94c009d (patch)
treed45462362e56f236d72f3dec9a470ce97b6f3c4a /cmd-find.c
parent53d6b94e8aef09c0494ed8a53191063b605b3127 (diff)
Store a key event not a mouse event in the shared data.
Diffstat (limited to 'cmd-find.c')
-rw-r--r--cmd-find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-find.c b/cmd-find.c
index a258a10f..665f8eb5 100644
--- a/cmd-find.c
+++ b/cmd-find.c
@@ -982,7 +982,7 @@ cmd_find_target(struct cmd_find_state *fs, struct cmdq_item *item,
/* Mouse target is a plain = or {mouse}. */
if (strcmp(target, "=") == 0 || strcmp(target, "{mouse}") == 0) {
- m = &cmdq_get_shared(item)->mouse;
+ m = &cmdq_get_shared(item)->event.m;
switch (type) {
case CMD_FIND_PANE:
fs->wp = cmd_mouse_pane(m, &fs->s, &fs->wl);