src/video/windib/SDL_dibevents.c
changeset 514 1080bfc4aa96
parent 453 a6fa62b1be09
child 515 230b156829ed
     1.1 --- a/src/video/windib/SDL_dibevents.c	Sun Oct 06 18:47:20 2002 +0000
     1.2 +++ b/src/video/windib/SDL_dibevents.c	Sun Oct 06 20:25:05 2002 +0000
     1.3 @@ -28,6 +28,9 @@
     1.4  #include <stdlib.h>
     1.5  #include <stdio.h>
     1.6  #include <windows.h>
     1.7 +#ifdef HAVE_AYGSHELL
     1.8 +#include <aygshell.h>
     1.9 +#endif
    1.10  
    1.11  #include "SDL_events.h"
    1.12  #include "SDL_error.h"
    1.13 @@ -363,6 +366,12 @@
    1.14  void DIB_DestroyWindow(_THIS)
    1.15  {
    1.16  	if ( SDL_windowid == NULL ) {
    1.17 +#ifdef HAVE_AYGSHELL
    1.18 +		/* Unhide taskbar, etc. */
    1.19 +		SHFullScreen(SDL_Window, SHFS_SHOWTASKBAR);
    1.20 +		SHFullScreen(SDL_Window, SHFS_SHOWSIPBUTTON);
    1.21 +		ShowWindow(FindWindow(TEXT("HHTaskBar"),NULL),SW_SHOWNORMAL);
    1.22 +#endif
    1.23  		DestroyWindow(SDL_Window);
    1.24  	}
    1.25  }