This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't minimize fullscreen windows when destroying them.
Previously, we'd minimize fullscreen windows (if SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS was set) during SDL_DestroyWindow if they had keyboard focus, because we call SDL_SetKeyboardFocus(NULL) which yields a OnWindowsFocusLost event. Related to https://bugzilla.libsdl.org/show_bug.cgi?id=1840
- Loading branch information
Showing 2 changed files with 8 additions and 1 deletion.