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:
@@ -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
|
||||
|
Reference in New Issue
Block a user