Fixed mouse focus events after resetting video mode on Windows

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40830
This commit is contained in:
Sam Lantinga 2004-02-15 22:50:28 +00:00
parent 1d18f35f0b
commit 461cccf912

View file

@ -286,9 +286,9 @@ LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
/* mouse has left the window */ /* mouse has left the window */
/* or */ /* or */
/* Elvis has left the building! */ /* Elvis has left the building! */
in_window = FALSE;
posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS); posted = SDL_PrivateAppActive(0, SDL_APPMOUSEFOCUS);
} }
in_window = FALSE;
} }
return(0); return(0);
#endif /* WM_MOUSELEAVE */ #endif /* WM_MOUSELEAVE */