wine/dlls x11drv/x11drv_main.c x11drv/x11drv.s ...

Dmitry Timoshkov dmitry at baikal.ru
Tue Jan 20 21:21:19 CST 2004


"Alexandre Julliard" <julliard at winehq.org> wrote:

> Log message:
> Aric Stewart <aric at codeweavers.com>
> Use X11 XIM callbacks to enable full IME support.
> Correct some timing issues with XIM input.
> Start to provide the framework for the MSIME messages.

>      langid = PRIMARYLANGID(LANGIDFROMLCID(layout));
>      if (langid == LANG_CHINESE || langid == LANG_JAPANESE || langid == LANG_KOREAN)
> -        layout |= 0xe001 << 16; /* FIXME */
> +        layout = 0xe001 << 16; /* FIXME */

The above change looks wrong. This thrashes low 16 bits of layout id.
Moreover, 0xe001 was added already in the global keyboard table list
for Japanese kbd layout (btw, why not for Chinese and Korean?).

-- 
Dmitry.





More information about the wine-devel mailing list