src/video/SDL_video.c
changeset 12710 6c510e7c6884
parent 12503 806492103856
child 12711 60b397c49d36
equal deleted inserted replaced
12709:d268ce129edb 12710:6c510e7c6884
  2214 
  2214 
  2215     if (window->flags & SDL_WINDOW_MINIMIZED) {
  2215     if (window->flags & SDL_WINDOW_MINIMIZED) {
  2216         return;
  2216         return;
  2217     }
  2217     }
  2218 
  2218 
  2219     SDL_UpdateFullscreenMode(window, SDL_FALSE);
       
  2220 
       
  2221     if (_this->MinimizeWindow) {
  2219     if (_this->MinimizeWindow) {
       
  2220         /* Only leave fullscreen mode if we're actually going to minimize */
       
  2221         SDL_UpdateFullscreenMode(window, SDL_FALSE);
       
  2222 
  2222         _this->MinimizeWindow(_this, window);
  2223         _this->MinimizeWindow(_this, window);
  2223     }
  2224     }
  2224 }
  2225 }
  2225 
  2226 
  2226 void
  2227 void