mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.1-149
This commit is contained in:
14
src/gui.c
14
src/gui.c
@@ -4214,7 +4214,19 @@ gui_do_scroll()
|
||||
#endif
|
||||
)
|
||||
{
|
||||
redraw_win_later(wp, VALID);
|
||||
int type = VALID;
|
||||
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
if (pum_visible())
|
||||
{
|
||||
type = NOT_VALID;
|
||||
wp->w_lines_valid = 0;
|
||||
}
|
||||
#endif
|
||||
/* Don't set must_redraw here, it may cause the popup menu to
|
||||
* disappear when losing focus after a scrollbar drag. */
|
||||
if (wp->w_redr_type < type)
|
||||
wp->w_redr_type = type;
|
||||
updateWindow(wp); /* update window, status line, and cmdline */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user