Hi, I’m John.
Recently I have switched my old codes to SDL2 from SDL-1.2. But it seemed
SDL2 support XIM properly.
Here’s my environments and test codes…
- Archlinux, Xorg (1.17.2-4 xorg-server), i3wm, nabi-XIM -or- ibus
(1.5.11-1) (locale = en_US.UTF-8) - Ubuntu 14.04, ibus. (locale = ko_KR.UTF-8)
- Xlib/XIM test: https://github.com/ageldama/xlib-xim-hello
- SDL-1.2 test: https://github.com/ageldama/sdl12-unicode-text-input-example
- SDL-2 test: https://github.com/ageldama/sdl2-unicode-text-input-example
…SDL-1.2, SDL-2 test-apps are fine with OSX/Windows IMEs.
(and SDL-1.2 is fine with Xorg/X11 + ibus/nabi… too)
I have made simple patch and I attach it to this mail.
(See attached file or this link:
https://gist.github.com/ageldama/6c713311c6cadd7bb607 )
I’ll be glad if you apply this to next-release of SDL-2.
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: setlocale+XSetLocaleModifiers.patch
Type: text/x-patch
Size: 1433 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20150826/28df5f50/attachment.bin