From: Giannis Adamopoulos Date: Mon, 27 Oct 2014 23:49:06 +0000 (+0000) Subject: [win32k] X-Git-Tag: backups/shell-experiments@75904~116 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=a5597dfcc189b827231ba794a6065a10512972ad;ds=sidebyside [win32k] - 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 --- diff --git a/win32ss/user/ntuser/message.c b/win32ss/user/ntuser/message.c index 8d6a76cab2d..eb1e1272117 100644 --- a/win32ss/user/ntuser/message.c +++ b/win32ss/user/ntuser/message.c @@ -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) ) {