winex11: Set the scan code prefix when necessary.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0b6c3a4460
commit
bc02e8551f
|
@ -2107,6 +2107,11 @@ UINT CDECL X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* set scan code prefix */
|
||||
if (wMapType == MAPVK_VK_TO_VSC_EX &&
|
||||
(wCode == VK_RCONTROL || wCode == VK_RMENU))
|
||||
ret |= 0xe000;
|
||||
break;
|
||||
|
||||
case MAPVK_VSC_TO_VK: /* scan-code to vkey-code */
|
||||
|
|
Loading…
Reference in New Issue