src/video/SDL_video.c
changeset 7565 3d97fc52d294
parent 7523 9e9ab1dc3811
child 7566 b14d00c30095
equal deleted inserted replaced
7564:d2bc997ef5d6 7565:3d97fc52d294
  2109     }
  2109     }
  2110 
  2110 
  2111     SDL_UpdateWindowGrab(window);
  2111     SDL_UpdateWindowGrab(window);
  2112 
  2112 
  2113     /* If we're fullscreen and lose focus, minimize unless the hint tells us otherwise */
  2113     /* If we're fullscreen and lose focus, minimize unless the hint tells us otherwise */
  2114      if ((window->flags & SDL_WINDOW_FULLSCREEN) && ShouldMinimizeOnFocusLoss() ) {
  2114     if ((window->flags & SDL_WINDOW_FULLSCREEN) && ShouldMinimizeOnFocusLoss()) {
  2115             SDL_MinimizeWindow(window);
  2115         SDL_MinimizeWindow(window);
  2116     }
  2116     }
  2117 }
  2117 }
  2118 
  2118 
  2119 SDL_Window *
  2119 SDL_Window *
  2120 SDL_GetFocusWindow(void)
  2120 SDL_GetFocusWindow(void)