diff options
author | nicm <nicm> | 2020-04-13 13:42:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-13 13:42:35 +0000 |
commit | 77d5b0cc538138fd036dca0f9b2ba198a94c009d (patch) | |
tree | d45462362e56f236d72f3dec9a470ce97b6f3c4a /cmd-find.c | |
parent | 53d6b94e8aef09c0494ed8a53191063b605b3127 (diff) |
Store a key event not a mouse event in the shared data.
Diffstat (limited to 'cmd-find.c')
-rw-r--r-- | cmd-find.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |