Commit 461cccf9 authored by Sam Lantinga's avatar Sam Lantinga

Fixed mouse focus events after resetting video mode on Windows

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40830
parent 1d18f35f
...@@ -286,9 +286,9 @@ LONG CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment