[win32k]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 27 Oct 2014 23:49:06 +0000 (23:49 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Mon, 27 Oct 2014 23:49:06 +0000 (23:49 +0000)
- Revert a recent change in trunk that broke the new shell. Its a shame to see the new shell behave like crap because of win32k

svn path=/branches/shell-experiments/; revision=65057

win32ss/user/ntuser/message.c

index 8d6a76c..eb1e127 100644 (file)
@@ -851,6 +851,17 @@ co_IntPeekMessage( PMSG Msg,
             return TRUE;
         }
 
+        if ((ProcessMask & QS_MOUSE) &&
+            co_MsqPeekMouseMove( pti,
+                                 RemoveMessages,
+                                 Window,
+                                 MsgFilterMin,
+                                 MsgFilterMax,
+                                 Msg ))
+        {
+            return TRUE;
+        }
+
         /* Check for hardware events. */
         if ((ProcessMask & QS_INPUT) &&
             co_MsqPeekHardwareMessage( pti,
@@ -864,17 +875,6 @@ co_IntPeekMessage( PMSG Msg,
             return TRUE;
         }
 
-        if ((ProcessMask & QS_MOUSE) &&
-            co_MsqPeekMouseMove( pti,
-                                 RemoveMessages,
-                                 Window,
-                                 MsgFilterMin,
-                                 MsgFilterMax,
-                                 Msg ))
-        {
-            return TRUE;
-        }
-
         /* Check for sent messages again. */
         while ( co_MsqDispatchOneSentMessage(pti) )
         {