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

fix for last commit

This commit is contained in:
FunkyFr3sh 2018-08-09 11:39:11 +02:00
parent b9eab72850
commit 8b6932f6a7

View File

@ -587,14 +587,14 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
else if (wParam == WA_INACTIVE)
{
mouse_unlock();
if (ddraw->wine && LastSetWindowPosTick + 500 > timeGetTime())
{
LastSetWindowPosTick = 0;
return 0;
}
mouse_unlock();
/* minimize our window on defocus when in fullscreen */
if (!ddraw->windowed)
{