winex11.drv: Ctrl-Space should generate space, not 0.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2dca999e33
commit
598d334e73
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue