From d30e76389ca9bed4346690f759f29295fdcf0f27 Mon Sep 17 00:00:00 2001 From: Mao-Yining Date: Sat, 6 Dec 2025 10:04:06 +0100 Subject: [PATCH] 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 --- src/gui.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/