--- src/video/x11/SDL_x11events.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/src/video/x11/SDL_x11events.c +++ b/src/video/x11/SDL_x11events.c @@ -1098,7 +1098,13 @@ KeySym xsym; SDLKey key; - xsym = XKeycodeToKeysym(display, kc, 0); +// if ( xkey ) { +// /* Until we handle the IM protocol, use XLookupString() */ +// unsigned char keybuf[32]; +// XLookupString(xkey, keybuf, sizeof(keybuf), &xsym, NULL); +// } else { + xsym = XKeycodeToKeysym(display, kc, 0); +// } #ifdef DEBUG_KEYS fprintf(stderr, "Translating key code %d -> 0x%.4x\n", kc, xsym); #endif