Fixed mouse focus events after resetting video mode on Windows

This commit is contained in:
Sam Lantinga
2004-02-15 22:50:28 +00:00
parent 68ba3ca277
commit bb827d7c68

View File

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