Commit in reactos/subsys/win32k/ntuser on MAIN
input.c+7-11.40 -> 1.41
Set transition state bit in WM_KEY messages

reactos/subsys/win32k/ntuser
input.c 1.40 -> 1.41
diff -u -r1.40 -r1.41
--- input.c	12 Dec 2004 17:56:52 -0000	1.40
+++ input.c	28 Dec 2004 08:49:06 -0000	1.41
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: input.c,v 1.40 2004/12/12 17:56:52 weiden Exp $
+/* $Id: input.c,v 1.41 2004/12/28 08:49:06 gvg Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -324,6 +324,12 @@
 	      /* Context mode. 1 if ALT if pressed while the key is pressed */
 	      lParam |= (1 << 29);
 	    }
+
+	  if (! KeyEvent.bKeyDown)
+	    {
+	      /* Transition state. 1 for KEY_UP etc, 0 for KEY_DOWN */
+	      lParam |= (1 << 31);
+	    }
 	  
 	  if (GetHotKey(InputWindowStation,
 			fsModifiers,
CVSspam 0.2.8