0
0
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:
Bram Moolenaar
2007-11-06 21:27:31 +00:00
parent e74455a447
commit 9b25ffbb2b
3 changed files with 50 additions and 11 deletions

View File

@@ -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 */
}