Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

- fix misleading hint about minimising on focus loss

  • Loading branch information
jorgenpt committed Jun 4, 2013
1 parent 89d4098 commit cec4da37f0e0fbcad9b73e3bab1045aa622348e8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_video.c
@@ -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);
}

0 comments on commit cec4da3

Please sign in to comment.