changeset 32327:8b45854712a4 v9.0.1495

patch 9.0.1495: GTK3: hiding the mouse pointer does not work Commit: https://github.com/vim/vim/commit/660eb9f9db6e704e39e40c6f0bf747a14de30321 Author: Kenny Stauffer <kstauffer@gmail.com> Date: Fri Apr 28 16:36:51 2023 +0100 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 https://github.com/vim/vim/issues/12293, closes #3256)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Apr 2023 17:45:03 +0200
parents fba0865977fe
children 757736f5d48a
files src/gui_gtk_x11.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 };
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1495,
+/**/
     1494,
 /**/
     1493,