comparison src/gui.c @ 1434:40aa7ae37901 v7.1.149

updated for version 7.1-149
author vimboss
date Tue, 06 Nov 2007 21:27:31 +0000
parents 99a9e42e5688
children ea1a2950ed16
comparison
equal deleted inserted replaced
1433:9b7d8fd5dc68 1434:40aa7ae37901
4212 #ifdef FEAT_DIFF 4212 #ifdef FEAT_DIFF
4213 || old_topfill != wp->w_topfill 4213 || old_topfill != wp->w_topfill
4214 #endif 4214 #endif
4215 ) 4215 )
4216 { 4216 {
4217 redraw_win_later(wp, VALID); 4217 int type = VALID;
4218
4219 #ifdef FEAT_INS_EXPAND
4220 if (pum_visible())
4221 {
4222 type = NOT_VALID;
4223 wp->w_lines_valid = 0;
4224 }
4225 #endif
4226 /* Don't set must_redraw here, it may cause the popup menu to
4227 * disappear when losing focus after a scrollbar drag. */
4228 if (wp->w_redr_type < type)
4229 wp->w_redr_type = type;
4218 updateWindow(wp); /* update window, status line, and cmdline */ 4230 updateWindow(wp); /* update window, status line, and cmdline */
4219 } 4231 }
4220 4232
4221 #ifdef FEAT_INS_EXPAND 4233 #ifdef FEAT_INS_EXPAND
4222 /* May need to redraw the popup menu. */ 4234 /* May need to redraw the popup menu. */