0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.2300: redraw breaks going through list of popup windows

Problem:    Redraw breaks going through list of popup windows.
Solution:   Use different flags for popup_reset_handled(). (closes #5216)
This commit is contained in:
Bram Moolenaar
2019-11-13 22:35:19 +01:00
parent 36e7a823c6
commit afe45b68a6
7 changed files with 80 additions and 32 deletions

View File

@@ -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