Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
- fix misleading hint about minimising on focus loss
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenpt committed Jun 4, 2013
1 parent 89d4098 commit cec4da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_video.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit cec4da3

Please sign in to comment.