Skip to content

Commit 110864e

Browse files
committed
[Win32k]
- Fix shift key handling, see bug 6175. svn path=/trunk/; revision=51540
1 parent b86b0d1 commit 110864e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reactos/subsystems/win32/win32k/ntuser/msgqueue.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ DWORD FASTCALL UserGetKeyState(DWORD key)
5353
if( key < 0x100 )
5454
{
5555
ret = (DWORD)MessageQueue->KeyState[key];
56+
if (MessageQueue->KeyState[key] & KS_DOWN_BIT)
57+
ret |= 0xFF00; // If down, windows returns 0xFF80.
5658
}
5759

5860
return ret;

0 commit comments

Comments
 (0)