https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7d1b50394b90b94f5d08ecb2b248e421ae2a1c5d

commit 7d1b50394b90b94f5d08ecb2b248e421ae2a1c5d
Author:     Doug Lyons <[email protected]>
AuthorDate: Sun Dec 19 09:03:22 2021 -0600
Commit:     GitHub <[email protected]>
CommitDate: Sun Dec 19 16:03:22 2021 +0100

    [WIN32SS] Do not remove message from the Msg Queue if it is not for us. 
(#4129)
    
    CORE-8217
    Patch from 'I_Kill_Bugs' contributor.
---
 win32ss/user/ntuser/msgqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win32ss/user/ntuser/msgqueue.c b/win32ss/user/ntuser/msgqueue.c
index 354475a8aa8..c82245f6d2d 100644
--- a/win32ss/user/ntuser/msgqueue.c
+++ b/win32ss/user/ntuser/msgqueue.c
@@ -1524,7 +1524,7 @@ BOOL co_IntProcessMouseMessage(MSG* msg, BOOL* 
RemoveMessages, BOOL* NotForUs, L
     {
         // This is not for us and we should leave so the other thread can 
check for messages!!!
         *NotForUs = TRUE;
-        *RemoveMessages = TRUE;
+        *RemoveMessages = FALSE;
         return FALSE;
     }
 

Reply via email to