mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
add noactivateapp check
This commit is contained in:
parent
8714a5b1d8
commit
294e103421
@ -1053,7 +1053,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
// let it pass through once (tiberian sun)
|
||||
static BOOL oneTime;
|
||||
if (wParam && !oneTime && !ddraw->hidemouse)
|
||||
if (wParam && !oneTime && !ddraw->hidemouse && ddraw->noactivateapp)
|
||||
{
|
||||
oneTime = TRUE;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user