mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
combine no minimize hack with noactivateapp since it doesn't work without it
This commit is contained in:
parent
848c918362
commit
8ce134f6ce
@ -1003,7 +1003,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
}
|
}
|
||||||
else if (wParam == WA_INACTIVE)
|
else if (wParam == WA_INACTIVE)
|
||||||
{
|
{
|
||||||
if (!ddraw->windowed && !ddraw->locked)
|
if (!ddraw->windowed && !ddraw->locked && ddraw->noactivateapp)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
mouse_unlock();
|
mouse_unlock();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user