mirror of
https://github.com/yawut/SDL.git
synced 2026-07-16 00:41:07 -05:00
- fix misleading hint about minimising on focus loss
This commit is contained in:
parent
d87052e8fd
commit
b76f0d31de
|
|
@ -2087,7 +2087,7 @@ SDL_OnWindowFocusLost(SDL_Window * window)
|
|||
|
||||
SDL_UpdateWindowGrab(window);
|
||||
|
||||
/* If we're fullscreen on a single-head system and lose focus, minimize */
|
||||
/* If we're fullscreen and lose focus, minimize unless the hint tells us otherwise */
|
||||
if ((window->flags & SDL_WINDOW_FULLSCREEN) && ShouldMinimizeOnFocusLoss() ) {
|
||||
SDL_MinimizeWindow(window);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user