Commit: patch 9.2.0949: GDK_KEY_VoidSymbol might be undefined

1 view
Skip to first unread message

Christian Brabandt

unread,
Aug 12, 2026, 4:00:15 PM (22 hours ago) Aug 12
to vim...@googlegroups.com
patch 9.2.0949: GDK_KEY_VoidSymbol might be undefined

Commit: https://github.com/vim/vim/commit/64dd63da9a2ee271f3e727b6502f505b0e29e76e
Author: Christian Brabandt <c...@256bit.org>
Date: Wed Aug 12 19:43:37 2026 +0000

patch 9.2.0949: GDK_KEY_VoidSymbol might be undefined

Problem: Build fails because GDK_KEY_VoidSymbol is undefined
(Hisashi T Fujinaka, after v9.2.0931)
Solution: Define GDK_KEY_VoidSymbol as GDK_VoidSymbol when not
already defined, before using it for the non-GTK4 case.

closes: #21024

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/gui_xim.c b/src/gui_xim.c
index 184945583..ebd72f6a0 100644
--- a/src/gui_xim.c
+++ b/src/gui_xim.c
@@ -190,6 +190,9 @@ static int im_preedit_trailing = 0; // number of characters after cursor

static unsigned long im_commit_handler_id = 0;
# ifndef USE_GTK4
+# ifndef GDK_KEY_VoidSymbol
+# define GDK_KEY_VoidSymbol GDK_VoidSymbol
+# endif
static unsigned int im_activatekey_keyval = GDK_KEY_VoidSymbol;
static unsigned int im_activatekey_state = 0;
# endif
diff --git a/src/version.c b/src/version.c
index e1d22170a..ffe735bba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 949,
/**/
948,
/**/
Reply all
Reply to author
Forward
0 new messages