diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-11-06 21:27:31 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-11-06 21:27:31 +0000 |
commit | 9b25ffbb2b2210d8a27316ba38ff100713504285 (patch) | |
tree | 225e723d085e0571d69e0fc86a87e6b005d47c2e /src/gui.c | |
parent | e74455a447758301b9209cb7113a3b727e89c38c (diff) | |
download | vim-git-9b25ffbb2b2210d8a27316ba38ff100713504285.tar.gz |
updated for version 7.1-149v7.1.149
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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 */ } |