SDL2 + XIM problem & patch

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…

…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. :slight_smile:

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

Sorry TYPO:

But it seemed SDL2 support XIM properly.
–> But it’s not seemed SDL2 support XIM properly.

Thanks!

2015? 8? 26? (?) ?? 7:06, Jong-Hyouk Yun <@Jong-Hyouk_Yun>?? ??:> 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…

…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. :slight_smile:

Thanks.

And I have updated PATCH FILE’s Gist too. (I have missed to include
SDL_x11sym.h in patch-file.)

Thanks.

2015? 8? 26? (?) ?? 7:21, Jong-Hyouk Yun <@Jong-Hyouk_Yun>?? ??:> Sorry TYPO:

But it seemed SDL2 support XIM properly.
–> But it’s not seemed SDL2 support XIM properly.

Thanks!

2015? 8? 26? (?) ?? 7:06, Jong-Hyouk Yun <@Jong-Hyouk_Yun>?? ??:

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…

…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. :slight_smile:

Thanks.