# HG changeset patch # User Bram Moolenaar # Date 1559484005 -7200 # Node ID aad59f9fe2536b9029c85899208f92a91c7b38a6 # Parent 99efbebd625dfea70800c2e1a072ba796867a6af patch 8.1.1451: CTRL-L does not clear screen with a popup window commit https://github.com/vim/vim/commit/ca2f7037c1a53bdbb6f5dc0a2f92d50020e062cc Author: Bram Moolenaar Date: Sun Jun 2 15:56:15 2019 +0200 patch 8.1.1451: CTRL-L does not clear screen with a popup window 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) diff --git a/src/screen.c b/src/screen.c --- 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 --- 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,