Commit 598d334e authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

winex11.drv: Ctrl-Space should generate space, not 0.

parent 2dca999e
......@@ -2566,6 +2566,14 @@ INT CDECL X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, const BYTE *lpKeyState
e.keycode = XKeysymToKeycode(e.display, XK_KP_Decimal);
}
/* Ctrl-Space generates space on Windows */
if (e.state == ControlMask && virtKey == VK_SPACE)
{
bufW[0] = ' ';
ret = 1;
goto found;
}
if (!e.keycode && virtKey != VK_NONAME)
{
WARN_(key)("Unknown virtual key %X !!!\n", virtKey);
......
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