changeset 374:3fc4e71f7714

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 19 May 2002 22:32:09 +0000
parents c638fde8a824
children 17976f0f503f
files src/video/windib/SDL_dibvideo.c src/video/windx5/SDL_dx5video.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.c	Sun May 19 22:27:42 2002 +0000
+++ b/src/video/windib/SDL_dibvideo.c	Sun May 19 22:32:09 2002 +0000
@@ -898,6 +898,7 @@
 #ifndef NO_CHANGEDISPLAYSETTINGS
 			if ( this->screen->flags & SDL_FULLSCREEN ) {
 				ChangeDisplaySettings(NULL, 0);
+				SDL_ShowWindow(SDL_Window, SW_HIDE);
 			}
 #endif
 #ifdef HAVE_OPENGL
--- a/src/video/windx5/SDL_dx5video.c	Sun May 19 22:27:42 2002 +0000
+++ b/src/video/windx5/SDL_dx5video.c	Sun May 19 22:32:09 2002 +0000
@@ -2214,6 +2214,7 @@
 		if ( (this->screen->flags & (SDL_OPENGL|SDL_FULLSCREEN)) ==
 		                            (SDL_OPENGL|SDL_FULLSCREEN) ) {
 			ChangeDisplaySettings(NULL, 0);
+			SDL_ShowWindow(SDL_Window, SW_HIDE);
 		}
 		if ( this->screen->flags & SDL_OPENGL ) {
 			WIN_GL_ShutDown(this);