diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-12 20:22:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-12 20:22:27 +0200 |
commit | 451d4b5b7c7262631cd1f5057c75d6f5f5772fb1 (patch) | |
tree | deb24fe64258461378994e9255c68f6179f11e31 /src/normal.c | |
parent | 06e2c81f6d213d197aa60019b33a263cd5176d68 (diff) | |
download | vim-git-451d4b5b7c7262631cd1f5057c75d6f5f5772fb1.tar.gz |
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/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 834a6436d..834b2319c 100644 --- a/src/normal.c +++ b/src/normal.c @@ -4521,7 +4521,7 @@ nv_mousescroll(cmdarg_T *cap) 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; |