diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-13 22:35:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-13 22:35:19 +0100 |
commit | afe45b68a67769a61b44a96b0ffe3bfce4e9316e (patch) | |
tree | a329007970730728fae316fe023841ad980c8ebc /src/mouse.c | |
parent | 36e7a823c66cfefb553c723e6792bcc6a1573b03 (diff) | |
download | vim-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.c | 4 |
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 |