From: Mao-Yining Date: Sat, 6 Dec 2025 09:04:06 +0000 (+0100) Subject: patch 9.1.1953: gui_mch_set_titlebar_colors() is excessively called X-Git-Tag: v9.1.1953^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d30e76389ca9bed4346690f759f29295fdcf0f27;p=thirdparty%2Fvim.git patch 9.1.1953: gui_mch_set_titlebar_colors() is excessively called Problem: gui_mch_set_titlebar_colors() doesn't need to be called when 'go+=C' is not set. Solution: Switch the default value to false. closes: #18872 Signed-off-by: Mao-Yining Signed-off-by: Christian Brabandt --- diff --git a/src/gui.c b/src/gui.c index 6ac1662773..4f658c828f 100644 --- a/src/gui.c +++ b/src/gui.c @@ -3494,7 +3494,7 @@ gui_init_which_components(char_u *oldval UNUSED) int using_tabline; #endif #ifdef FEAT_GUI_MSWIN - static int prev_titlebar = -1; + static int prev_titlebar = FALSE; int using_titlebar = FALSE; #endif #if defined(FEAT_MENU) diff --git a/src/version.c b/src/version.c index 4924bc84d4..ef8c96fa38 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1953, /**/ 1952, /**/