From: Bram Moolenaar Date: Mon, 4 Jul 2022 18:58:17 +0000 (+0100) Subject: patch 9.0.0039: not all systems have GDK_KEY_dead_circumflex X-Git-Tag: v9.0.0039 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c99e622ddd1cc0527262fda3b93e8e70f017371;p=thirdparty%2Fvim.git 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 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 @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 39, /**/ 38, /**/