GHOST/X11: Map unknown us.intl key to accentgrave
authorCampbell Barton <ideasman42@gmail.com>
Sat, 9 Jun 2018 07:10:04 +0000 (09:10 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 9 Jun 2018 07:10:04 +0000 (09:10 +0200)
intern/ghost/intern/GHOST_SystemX11.cpp

index b7bd0be..ebfa301 100644 (file)
@@ -1843,6 +1843,7 @@ convertXKey(KeySym key)
 #endif
                        /* Non US keyboard layouts: avoid 'UnknownKey' - TODO(campbell): lookup scan-codes. */
                        GXMAP(type, XK_dead_circumflex, GHOST_kKeyAccentGrave);         /* 'de' */
+                       GXMAP(type, XK_dead_grave, GHOST_kKeyAccentGrave);              /* 'us' (intl) */
                        GXMAP(type, XK_masculine, GHOST_kKeyAccentGrave);               /* 'es' */
                        GXMAP(type, XK_onehalf, GHOST_kKeyAccentGrave);                 /* 'dk' */
                        GXMAP(type, XK_twosuperior, GHOST_kKeyAccentGrave);             /* 'fr' */