Problem: Focus may remain in popup window.
Solution: Change focus if needed.
* update the view on the buffer. Only go back to
* the window when needed, otherwise it will always be
* redraw. */
- if (resized)
+ if (resized && win_valid(curwin_save))
{
++no_u_sync;
win_enter(curwin_save, TRUE);
}
}
}
+# ifdef FEAT_TEXT_PROP
+ if (WIN_IS_POPUP(curwin))
+ // can't keep focus in a popup window
+ win_enter(firstwin, TRUE);
+# endif
}
#endif
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1850,
/**/
1849,
/**/