- fix misleading hint about minimising on focus loss
This commit is contained in:
parent
5a7d3757f5
commit
449d63452e
1 changed files with 1 additions and 1 deletions
|
@ -2087,7 +2087,7 @@ SDL_OnWindowFocusLost(SDL_Window * window)
|
||||||
|
|
||||||
SDL_UpdateWindowGrab(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() ) {
|
if ((window->flags & SDL_WINDOW_FULLSCREEN) && ShouldMinimizeOnFocusLoss() ) {
|
||||||
SDL_MinimizeWindow(window);
|
SDL_MinimizeWindow(window);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue