From 660eb9f9db6e704e39e40c6f0bf747a14de30321 Mon Sep 17 00:00:00 2001 From: Kenny Stauffer Date: Fri, 28 Apr 2023 16:36:51 +0100 Subject: patch 9.0.1495: GTK3: hiding the mouse pointer does not work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: GTK3: hiding the mouse pointer does not work. (Rory O’Kane) Solution: Set alpha level to zero. (Kenny Stauffer, closes #12293, closes #3256) --- src/gui_gtk_x11.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 7ef63b842..fc3d08b42 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 929308c07..96e26110c 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, /**/ -- cgit v1.2.1