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:
parent
b9eab72850
commit
8b6932f6a7
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user