# HG changeset patch # User Bram Moolenaar # Date 1656961202 -7200 # Node ID 9fed09b3ca05b6344f1a6096e430f85bade4e8c5 # Parent 86e54c1f931ec3ed85d7bda6d9c824057766e740 patch 9.0.0039: not all systems have GDK_KEY_dead_circumflex Commit: https://github.com/vim/vim/commit/4c99e622ddd1cc0527262fda3b93e8e70f017371 Author: Bram Moolenaar 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. diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c --- 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 --- 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,