1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

combine no minimize hack with noactivateapp since it doesn't work without it

This commit is contained in:
FunkyFr3sh 2018-11-16 07:40:19 +01:00
parent 848c918362
commit 8ce134f6ce

View File

@ -1003,7 +1003,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
else if (wParam == WA_INACTIVE)
{
if (!ddraw->windowed && !ddraw->locked)
if (!ddraw->windowed && !ddraw->locked && ddraw->noactivateapp)
return 0;
mouse_unlock();