Commit bc02e855 authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

winex11: Set the scan code prefix when necessary.

parent 0b6c3a44
...@@ -2107,6 +2107,11 @@ UINT CDECL X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl) ...@@ -2107,6 +2107,11 @@ UINT CDECL X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
break; break;
} }
} }
/* set scan code prefix */
if (wMapType == MAPVK_VK_TO_VSC_EX &&
(wCode == VK_RCONTROL || wCode == VK_RMENU))
ret |= 0xe000;
break; break;
case MAPVK_VSC_TO_VK: /* scan-code to vkey-code */ case MAPVK_VSC_TO_VK: /* scan-code to vkey-code */
......
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