changeset 29393:9fed09b3ca05 v9.0.0039

patch 9.0.0039: not all systems have GDK_KEY_dead_circumflex Commit: https://github.com/vim/vim/commit/4c99e622ddd1cc0527262fda3b93e8e70f017371 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 4 19:58:17 2022 +0100 patch 9.0.0039: not all systems have GDK_KEY_dead_circumflex Problem: Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka) Solution: Add an #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Jul 2022 21:00:02 +0200
parents 86e54c1f931e
children aa2921440d74
files src/gui_gtk_x11.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -1246,6 +1246,7 @@ key_press_event(GtkWidget *widget UNUSED
 	}
     }
 
+#ifdef GDK_KEY_dead_circumflex
     // Belgian Ctrl+[ workaround
     if (len == 0 && key_sym == GDK_KEY_dead_circumflex)
     {
@@ -1259,6 +1260,7 @@ key_press_event(GtkWidget *widget UNUSED
 	// are confusing code downstream
 	return TRUE;
     }
+#endif
 
     if (len == 0)   // Unrecognized key
 	return TRUE;
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    39,
+/**/
     38,
 /**/
     37,