commit | b547ce941a74885da9f37c4697cf8541848a4c8d | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Oct 17 21:37:26 2016 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Oct 17 21:37:26 2016 -0700 |
tree | 244b9ad22b3319de6315652b7ffd5f6491f6f4f4 | |
parent | 475ac41440d345f5bf4b859dba23a33da75d2553 [diff] |
Fixed bug 3458 - x11: reset deadkeys in StartTextInput/StopTextInput Eric Wasylishen The patch makes StartTextInput/StopTextInput call Xutf8ResetIC ( https://www.x.org/releases/X11R7.5/doc/man/man3/XmbResetIC.3.html ) on the XIC of all SDL windows. This fixes my use case in Quakespasm (Ubuntu 16.04, system keyboard layout set to German. Type the '^' dead key, which opens Quakespasm's developer console and calls SDL_StartTextInput, then press 'e'. I expect the dead key to be ignored.) Also, here is a patch for sdl2's "checkkeys" for testing this: https://bugzilla-attachments.libsdl.org/attachment.cgi?id=2451