Skip to content

Commit 4c99e62

Browse files
committed
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.
1 parent 5ed26fa commit 4c99e62

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/gui_gtk_x11.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ key_press_event(GtkWidget *widget UNUSED,
12461246
}
12471247
}
12481248

1249+
#ifdef GDK_KEY_dead_circumflex
12491250
// Belgian Ctrl+[ workaround
12501251
if (len == 0 && key_sym == GDK_KEY_dead_circumflex)
12511252
{
@@ -1259,6 +1260,7 @@ key_press_event(GtkWidget *widget UNUSED,
12591260
// are confusing code downstream
12601261
return TRUE;
12611262
}
1263+
#endif
12621264

12631265
if (len == 0) // Unrecognized key
12641266
return TRUE;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ static char *(features[]) =
735735

736736
static int included_patches[] =
737737
{ /* Add new patch number below this line */
738+
/**/
739+
39,
738740
/**/
739741
38,
740742
/**/

0 commit comments

Comments
 (0)