Commit 965cbd2a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Along with AltGr state save also all possible modifier states.

parent 14c90e8e
......@@ -1013,7 +1013,8 @@ void X11DRV_KeyEvent( HWND hwnd, XKeyEvent *event )
predefined group index and find it dynamically
Ref: X Keyboard Extension: Library specification (section 14.1.1 and 17.1.1) */
AltGrMask = event->state & 0x6000;
/* Save also all possible modifier states. */
AltGrMask = event->state & (0x6000 | Mod1Mask | Mod2Mask | Mod3Mask | Mod4Mask | Mod5Mask);
Str[ascii_chars] = '\0';
if (TRACE_ON(key)){
......
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