]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.0039: not all systems have GDK_KEY_dead_circumflex v9.0.0039
authorBram Moolenaar <Bram@vim.org>
Mon, 4 Jul 2022 18:58:17 +0000 (19:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 4 Jul 2022 18:58:17 +0000 (19:58 +0100)
Problem:    Not all systems have GDK_KEY_dead_circumflex. (Hisashi T Fujinaka)
Solution:   Add an #ifdef.

src/gui_gtk_x11.c
src/version.c

index fd582dd799b42676e0e0db9718c73c578f8cbfc0..d0d946cc0e5a54299973ef3b6885b62226e2cea7 100644 (file)
@@ -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;
index 8ddbddaf827951e636761747493f91529e7fb7de..b2c63c4441e140880bf2fef1400fcead071bb6a2 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    39,
 /**/
     38,
 /**/