0
0
mirror of https://github.com/vim/vim.git synced 2025-10-08 06:04:08 -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
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;