summaryrefslogtreecommitdiff
path: root/src/mouse.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-13 22:35:19 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-13 22:35:19 +0100
commitafe45b68a67769a61b44a96b0ffe3bfce4e9316e (patch)
treea329007970730728fae316fe023841ad980c8ebc /src/mouse.c
parent36e7a823c66cfefb553c723e6792bcc6a1573b03 (diff)
downloadvim-git-afe45b68a67769a61b44a96b0ffe3bfce4e9316e.tar.gz
patch 8.1.2300: redraw breaks going through list of popup windowsv8.1.2300
Problem: Redraw breaks going through list of popup windows. Solution: Use different flags for popup_reset_handled(). (closes #5216)
Diffstat (limited to 'src/mouse.c')
-rw-r--r--src/mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mouse.c b/src/mouse.c
index 366cbaf54..3e1741f98 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -2921,8 +2921,8 @@ mouse_find_win(int *rowp, int *colp, mouse_find_T popup UNUSED)
if (popup != IGNORE_POPUP)
{
- popup_reset_handled();
- while ((wp = find_next_popup(TRUE)) != NULL)
+ popup_reset_handled(POPUP_HANDLED_1);
+ while ((wp = find_next_popup(TRUE, POPUP_HANDLED_1)) != NULL)
{
if (*rowp >= wp->w_winrow && *rowp < wp->w_winrow + popup_height(wp)
&& *colp >= wp->w_wincol