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:
@@ -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;
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user