0
0
mirror of https://github.com/vim/vim.git synced 2025-10-09 06:14:17 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-07-04 19:58:17 +01:00
parent 5ed26faace
commit 4c99e622dd
2 changed files with 4 additions and 0 deletions

View File

@@ -1246,6 +1246,7 @@ key_press_event(GtkWidget *widget UNUSED,
} }
} }
#ifdef GDK_KEY_dead_circumflex
// Belgian Ctrl+[ workaround // Belgian Ctrl+[ workaround
if (len == 0 && key_sym == GDK_KEY_dead_circumflex) if (len == 0 && key_sym == GDK_KEY_dead_circumflex)
{ {
@@ -1259,6 +1260,7 @@ key_press_event(GtkWidget *widget UNUSED,
// are confusing code downstream // are confusing code downstream
return TRUE; return TRUE;
} }
#endif
if (len == 0) // Unrecognized key if (len == 0) // Unrecognized key
return TRUE; return TRUE;

View File

@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
39,
/**/ /**/
38, 38,
/**/ /**/