diff src/video/windib/SDL_dibevents.c @ 514:1080bfc4aa96

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Oct 2002 20:25:05 +0000
parents a6fa62b1be09
children 230b156829ed
line wrap: on
line diff
--- a/src/video/windib/SDL_dibevents.c	Sun Oct 06 18:47:20 2002 +0000
+++ b/src/video/windib/SDL_dibevents.c	Sun Oct 06 20:25:05 2002 +0000
@@ -28,6 +28,9 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <windows.h>
+#ifdef HAVE_AYGSHELL
+#include <aygshell.h>
+#endif
 
 #include "SDL_events.h"
 #include "SDL_error.h"
@@ -363,6 +366,12 @@
 void DIB_DestroyWindow(_THIS)
 {
 	if ( SDL_windowid == NULL ) {
+#ifdef HAVE_AYGSHELL
+		/* Unhide taskbar, etc. */
+		SHFullScreen(SDL_Window, SHFS_SHOWTASKBAR);
+		SHFullScreen(SDL_Window, SHFS_SHOWSIPBUTTON);
+		ShowWindow(FindWindow(TEXT("HHTaskBar"),NULL),SW_SHOWNORMAL);
+#endif
 		DestroyWindow(SDL_Window);
 	}
 }