Commit 187d52bc authored by Alexandre Julliard's avatar Alexandre Julliard

winex11.drv: Added mapping for Unicode keysyms in ToUnicodeEx.

parent 4026dfa8
......@@ -2447,6 +2447,15 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
{
MultiByteToWideChar(CP_UNIXCP, 0, &dead_char, 1, bufW, bufW_size);
ret = -1;
goto found;
}
if (keysym >= 0x01000100 && keysym <= 0x0100ffff)
{
/* Unicode direct mapping */
bufW[0] = keysym & 0xffff;
ret = 1;
goto found;
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment