Along with AltGr state save also all possible modifier states.

This commit is contained in:
Dmitry Timoshkov 2003-06-23 19:57:59 +00:00 committed by Alexandre Julliard
parent 14c90e8e5f
commit 965cbd2a96
1 changed files with 2 additions and 1 deletions

View File

@ -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)){