src/video/windows/SDL_windowswindow.c
changeset 7817 357bccc72a1c
parent 7775 dad9001a9fc7
child 7828 1451063c8ecd
equal deleted inserted replaced
7816:f16e342b167a 7817:357bccc72a1c
   401 
   401 
   402 void
   402 void
   403 WIN_RaiseWindow(_THIS, SDL_Window * window)
   403 WIN_RaiseWindow(_THIS, SDL_Window * window)
   404 {
   404 {
   405     WIN_SetWindowPositionInternal(_this, window, SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOSIZE);
   405     WIN_SetWindowPositionInternal(_this, window, SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOSIZE);
       
   406 
       
   407     /* Raising the window while alt-tabbed can cause it to be minimized for some reason? */
       
   408     WIN_RestoreWindow(_this, window);
   406 }
   409 }
   407 
   410 
   408 void
   411 void
   409 WIN_MaximizeWindow(_THIS, SDL_Window * window)
   412 WIN_MaximizeWindow(_THIS, SDL_Window * window)
   410 {
   413 {