Author: jimtabor
Date: Mon May 2 07:40:04 2011
New Revision: 51540
URL:
http://svn.reactos.org/svn/reactos?rev=51540&view=rev
Log:
[Win32k]
- Fix shift key handling, see bug 6175.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/msgqueue.c [iso-8859-1] Mon May 2
07:40:04 2011
@@ -53,6 +53,8 @@
if( key < 0x100 )
{
ret = (DWORD)MessageQueue->KeyState[key];
+ if (MessageQueue->KeyState[key] & KS_DOWN_BIT)
+ ret |= 0xFF00; // If down, windows returns 0xFF80.
}
return ret;