patch 9.0.0317: when updating the whole screen a popup may not be redrawn
Problem: When updating the whole screen a popup may not be redrawn.
Solution: Mark the screen and windows for redraw also when not clearing.
Also mark popup windows for redraw.
diff --git a/src/popupwin.c b/src/popupwin.c
index 8e74e42..0240994 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1938,6 +1938,20 @@
#endif
/*
+ * Mark all popup windows in the current tab and global for redrawing.
+ */
+ void
+popup_redraw_all(void)
+{
+ win_T *wp;
+
+ FOR_ALL_POPUPWINS(wp)
+ wp->w_redr_type = UPD_NOT_VALID;
+ FOR_ALL_POPUPWINS_IN_TAB(curtab, wp)
+ wp->w_redr_type = UPD_NOT_VALID;
+}
+
+/*
* Set the color for a notification window.
*/
static void