patch 9.2.0582: GTK4: compile error when XFONTSET is defined
Commit:
https://github.com/vim/vim/commit/e2d1c334ee88067e16351e091ece95f6c6f24af5
Author: Foxe Chen <
chen...@gmail.com>
Date: Mon Jun 1 19:46:46 2026 +0000
patch 9.2.0582: GTK4: compile error when XFONTSET is defined
Problem: GTK4: compile error when XFONTSET is defined
(simozz)
Solution: Undefine FEAT_XFONTSET when GTK4 UI is defined
(Foxe Chen)
fixes: #20404
closes: #20406
Signed-off-by: Foxe Chen <
chen...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/feature.h b/src/feature.h
index 46508f74b..92c4b1374 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -444,6 +444,10 @@
# else
// # define FEAT_XFONTSET
# endif
+#else
+# if defined(USE_GTK4)
+# undef FEAT_XFONTSET
+# endif
#endif
/*
diff --git a/src/version.c b/src/version.c
index 44bc20abd..02fc6a82f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 582,
/**/
581,
/**/