Problem: Redraw even when no popup window filter was invoked.
Solution: Only redraw when must_redraw was set to a larger value.
win_T *wp;
int save_KeyTyped = KeyTyped;
int state;
+ int was_must_redraw = must_redraw;
if (recursive)
return FALSE;
&& (wp->w_filter_mode & state) != 0)
res = invoke_popup_filter(wp, c);
- if (must_redraw)
+ if (must_redraw > was_must_redraw)
redraw_after_callback(FALSE);
recursive = FALSE;
KeyTyped = save_KeyTyped;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1998,
/**/
1997,
/**/