Fixed bug 3458 - x11: reset deadkeys in StartTextInput/StopTextInput

Eric Wasylishen

The patch makes StartTextInput/StopTextInput call Xutf8ResetIC ( ) 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:
2 files changed