comparison src/video/wincommon/SDL_sysevents.c @ 459:2a778055dbba

Fixed bug where video mode wasn't restored after ALT-tab in with DirectX
author Sam Lantinga <slouken@libsdl.org>
date Tue, 20 Aug 2002 05:59:31 +0000
parents d0ab9718bf91
children 7d7e19b59866
comparison
equal deleted inserted replaced
458:a8a0a4f19df7 459:2a778055dbba
457 } 457 }
458 if ( SDL_PublicSurface && 458 if ( SDL_PublicSurface &&
459 (SDL_PublicSurface->flags & SDL_RESIZABLE) ) { 459 (SDL_PublicSurface->flags & SDL_RESIZABLE) ) {
460 SDL_PrivateResize(w, h); 460 SDL_PrivateResize(w, h);
461 } 461 }
462 return(0);
463 } 462 }
464 break; 463 break;
465 464
466 /* We need to set the cursor */ 465 /* We need to set the cursor */
467 case WM_SETCURSOR: { 466 case WM_SETCURSOR: {