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 <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Mao-Yining
2025-12-06 10:04:06 +01:00
committed by Christian Brabandt
parent b46cbecb1d
commit d30e76389c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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)
+2
View File
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1953,
/**/
1952,
/**/