mirror of
https://github.com/vim/vim.git
synced 2026-05-28 00:21:37 +02:00
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:
committed by
Christian Brabandt
parent
b46cbecb1d
commit
d30e76389c
@@ -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)
|
||||
|
||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1953,
|
||||
/**/
|
||||
1952,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user