1
0
forked from aniani/vim

patch 9.0.1495: GTK3: hiding the mouse pointer does not work

Problem:    GTK3: hiding the mouse pointer does not work. (Rory O’Kane)
Solution:   Set alpha level to zero. (Kenny Stauffer, closes #12293,
            closes #3256)
This commit is contained in:
Kenny Stauffer
2023-04-28 16:36:51 +01:00
committed by Bram Moolenaar
parent bf1b713202
commit 660eb9f9db
2 changed files with 3 additions and 1 deletions

View File

@@ -2682,7 +2682,7 @@ create_blank_pointer(void)
#endif
GdkCursor *cursor;
#if GTK_CHECK_VERSION(3,0,0)
GdkRGBA color = { 0.0, 0.0, 0.0, 1.0 };
GdkRGBA color = { 0.0, 0.0, 0.0, 0.0 };
#else
GdkColor color = { 0, 0, 0, 0 };
char blank_data[] = { 0x0 };

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1495,
/**/
1494,
/**/