summaryrefslogtreecommitdiffstats
path: root/src/popupwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popupwin.c')
-rw-r--r--src/popupwin.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index 8e74e42010..0240994bef 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1938,6 +1938,20 @@ popup_terminal_exists(void)
#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