src/video/wincommon/SDL_sysevents.c
branchSDL-1.2
changeset 6110 676a54593bc4
parent 5988 bf927e528813
child 6125 760a3162e180
equal deleted inserted replaced
6109:469e95e71627 6110:676a54593bc4
   307 						DIB_SwapGamma(this);
   307 						DIB_SwapGamma(this);
   308 					}
   308 					}
   309 					if ( WINDIB_FULLSCREEN() ) {
   309 					if ( WINDIB_FULLSCREEN() ) {
   310 						appstate |= SDL_APPMOUSEFOCUS;
   310 						appstate |= SDL_APPMOUSEFOCUS;
   311 						SDL_RestoreDesktopMode();
   311 						SDL_RestoreDesktopMode();
       
   312 						/* A fullscreen app gets hidden but will not get a minimize event */
       
   313 						appstate |= (SDL_APPACTIVE | SDL_APPMOUSEFOCUS);
   312 #if defined(_WIN32_WCE)
   314 #if defined(_WIN32_WCE)
   313 						LoadAygshell();
   315 						LoadAygshell();
   314 						if( SHFullScreen ) 
   316 						if( SHFullScreen ) 
   315 							SHFullScreen(SDL_Window, SHFS_SHOWSTARTICON|SHFS_SHOWTASKBAR|SHFS_SHOWSIPBUTTON);
   317 							SHFullScreen(SDL_Window, SHFS_SHOWSTARTICON|SHFS_SHOWTASKBAR|SHFS_SHOWSIPBUTTON);
   316 						else
   318 						else