[NtUser]
authorJames Tabor <james.tabor@reactos.org>
Tue, 28 Oct 2014 00:26:22 +0000 (00:26 +0000)
committerJames Tabor <james.tabor@reactos.org>
Tue, 28 Oct 2014 00:26:22 +0000 (00:26 +0000)
- Revert 64363. See CORE-7797.

svn path=/trunk/; revision=65060

reactos/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) )
         {