From: Kenny Stauffer Date: Fri, 28 Apr 2023 15:36:51 +0000 (+0100) Subject: patch 9.0.1495: GTK3: hiding the mouse pointer does not work X-Git-Tag: v9.0.1495 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=660eb9f9db6e704e39e40c6f0bf747a14de30321;p=thirdparty%2Fvim.git 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) --- diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 7ef63b8421..fc3d08b42c 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -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 }; diff --git a/src/version.c b/src/version.c index 929308c07a..96e26110c1 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1495, /**/ 1494, /**/