[WIN32SS] Do not remove message from the Msg Queue if it is not for us. (#4129)

CORE-8217
Patch from 'I_Kill_Bugs' contributor.
This commit is contained in:
Doug Lyons 2021-12-19 09:03:22 -06:00 committed by GitHub
parent 63bb43adbb
commit 7d1b50394b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}