- fix misleading hint about minimising on focus loss
authorJørgen P. Tjernø <jorgen@valvesoftware.com>
Tue, 04 Jun 2013 13:47:51 -0700
changeset 7269f7a0cc4bf74d
parent 7268 b399d0441810
child 7270 76df5476a6ce
- fix misleading hint about minimising on focus loss
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Mon Jun 03 19:24:18 2013 -0700
     1.2 +++ b/src/video/SDL_video.c	Tue Jun 04 13:47:51 2013 -0700
     1.3 @@ -2087,7 +2087,7 @@
     1.4  
     1.5      SDL_UpdateWindowGrab(window);
     1.6  
     1.7 -    /* If we're fullscreen on a single-head system and lose focus, minimize */
     1.8 +    /* If we're fullscreen and lose focus, minimize unless the hint tells us otherwise */
     1.9       if ((window->flags & SDL_WINDOW_FULLSCREEN) && ShouldMinimizeOnFocusLoss() ) {
    1.10              SDL_MinimizeWindow(window);
    1.11      }