diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-29 13:44:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-29 13:44:28 +0100 |
commit | b13d3405fffae1115acc1433479b616f30e292e5 (patch) | |
tree | 58a8ab1a5d00c7efd13eb1ae953051ece2746790 /src/popupwin.c | |
parent | f73e5ba56f4aca1cd6e38f1c8ea24e941bf6b33f (diff) |
patch 9.0.0317: when updating the whole screen a popup may not be redrawnv9.0.0317
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.
Diffstat (limited to 'src/popupwin.c')
-rw-r--r-- | src/popupwin.c | 14 |
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 |