Commit d949867d authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winex11.drv: Map VK codes for arrow keys to an X11 keycode manually as we do for other keypad keys.

parent 063c42cf
......@@ -2393,6 +2393,9 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
}
}
if (virtKey >= VK_LEFT && virtKey <= VK_DOWN)
e.keycode = XKeysymToKeycode(e.display, virtKey - VK_LEFT + XK_Left);
if ((virtKey>=VK_NUMPAD0) && (virtKey<=VK_NUMPAD9))
e.keycode = XKeysymToKeycode(e.display, virtKey-VK_NUMPAD0+XK_KP_0);
......
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