summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-12 20:22:27 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-12 20:22:27 +0200
commit451d4b5b7c7262631cd1f5057c75d6f5f5772fb1 (patch)
treedeb24fe64258461378994e9255c68f6179f11e31 /src/edit.c
parent06e2c81f6d213d197aa60019b33a263cd5176d68 (diff)
patch 8.1.1520: popup windows are ignored when dealing with mouse positionv8.1.1520
Problem: Popup windows are ignored when dealing with mouse position Solution: Find the mouse position inside a popup window. Allow for modeless selection.
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index ad25252e7e..4de17aa180 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -5267,7 +5267,7 @@ ins_mousescroll(int dir)
col = mouse_col;
/* find the window at the pointer coordinates */
- wp = mouse_find_win(&row, &col);
+ wp = mouse_find_win(&row, &col, FAIL_POPUP);
if (wp == NULL)
return;
curwin = wp;