summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-04 19:58:17 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-04 19:58:17 +0100
commit4c99e622ddd1cc0527262fda3b93e8e70f017371 (patch)
tree33f3e2e67bcd3e156f80ebbee3f902da2a6ae0cb
parent5ed26faace574f6b36744f9e17075d7e806aa877 (diff)
patch 9.0.0039: not all systems have GDK_KEY_dead_circumflexv9.0.0039
Problem: Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka) Solution: Add an #ifdef.
-rw-r--r--src/gui_gtk_x11.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index fd582dd799..d0d946cc0e 100644
--- 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;
diff --git a/src/version.c b/src/version.c
index 8ddbddaf82..b2c63c4441 100644
--- 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,