Fixed mouse cursor trap when changing windows

This commit is contained in:
pagefault
2002-02-20 22:23:05 +00:00
parent 9281ca150c
commit 5ca53d6da2

View File

@@ -563,6 +563,7 @@ LRESULT CALLBACK Main_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
if (LOWORD(wParam) == WA_INACTIVE)
{
IsActivated = 0;
InputDeAcquire();
if (GUIOn2 == 1) SetPriorityClass(GetCurrentProcess(), IDLE_PRIORITY_CLASS);
CheckScreenSaver();
}