SDL 1.2 Windows: Fix other window positions/sizes when exiting fullscreen (bug #3315, thanks Simon Hug!)
1.1 --- a/src/video/windib/SDL_dibvideo.c Wed Mar 30 13:30:59 2016 -0400
1.2 +++ b/src/video/windib/SDL_dibvideo.c Mon May 23 15:27:30 2016 -0300
1.3 @@ -807,7 +807,7 @@
1.4 } else {
1.5 #ifndef NO_CHANGEDISPLAYSETTINGS
1.6 if ( (prev_flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) {
1.7 - ChangeDisplaySettings(NULL, 0);
1.8 + ChangeDisplaySettings(NULL, CDS_FULLSCREEN);
1.9 }
1.10 #endif
1.11 if ( flags & SDL_NOFRAME ) {
1.12 @@ -1186,7 +1186,7 @@
1.13 }
1.14 #ifndef NO_CHANGEDISPLAYSETTINGS
1.15 if ( this->screen->flags & SDL_FULLSCREEN ) {
1.16 - ChangeDisplaySettings(NULL, 0);
1.17 + ChangeDisplaySettings(NULL, CDS_FULLSCREEN);
1.18 ShowWindow(SDL_Window, SW_HIDE);
1.19 }
1.20 #endif