Problem: When resizing the screen may draw popup in wrong position. (Masato
Nishihata)
Solution: Check the popup is not outside of the screen. (fixes #4592)
wp->w_winrow += top_off;
wp->w_wincol += left_off;
- // Draw the popup text.
- win_update(wp);
+ // Draw the popup text, unless it's off screen.
+ if (wp->w_winrow < screen_Rows && wp->w_wincol < screen_Columns)
+ win_update(wp);
wp->w_winrow -= top_off;
wp->w_wincol -= left_off;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1596,
/**/
1595,
/**/