summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-02 15:56:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-02 15:56:15 +0200
commitca2f7037c1a53bdbb6f5dc0a2f92d50020e062cc (patch)
tree7a2f0baed71ab153a3a729154ebb5ea77c76f656
parent399d898ac1e6e587088b5bdd6e36eca4998bc1eb (diff)
patch 8.1.1451: CTRL-L does not clear screen with a popup windowv8.1.1451
Problem: CTRL-L does not clear screen with a popup window. Solution: Do not change the type to NOT_VALID. Redraw all windows. (closes #4471)
-rw-r--r--src/screen.c7
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index be3bcfad5d..f179618166 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -613,7 +613,12 @@ update_screen(int type_arg)
#ifdef FEAT_TEXT_PROP
// TODO: avoid redrawing everything when there is a popup window.
if (popup_any_visible())
- type = NOT_VALID;
+ {
+ if (type < NOT_VALID)
+ type = NOT_VALID;
+ FOR_ALL_WINDOWS(wp)
+ wp->w_redr_type = NOT_VALID;
+ }
#endif
updating_screen = TRUE;
diff --git a/src/version.c b/src/version.c
index 6417e41d36..6e04c07178 100644
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1451,
+/**/
1450,
/**/
1449,