diff src/gui_gtk_x11.c @ 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 4545f58c8490
children f2138180c6f0
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 };