From 7d1b50394b90b94f5d08ecb2b248e421ae2a1c5d Mon Sep 17 00:00:00 2001 From: Doug Lyons Date: Sun, 19 Dec 2021 09:03:22 -0600 Subject: [PATCH] [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; }