# HG changeset patch # User Simon Hug # Date 1462207718 0 # Branch SDL-1.2 # Node ID 85df5d465bd97c9ede5f414944cd61df58794883 # Parent b1d2398f2655a5987e3ca1721066b7d8dfcb6957 When returning from fullscreen, mark the mode change as temporary. This prevents the resizing from other windows. diff --git a/src/video/windib/SDL_dibvideo.c b/src/video/windib/SDL_dibvideo.c --- a/src/video/windib/SDL_dibvideo.c +++ b/src/video/windib/SDL_dibvideo.c @@ -807,7 +807,7 @@ } else { #ifndef NO_CHANGEDISPLAYSETTINGS if ( (prev_flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) { - ChangeDisplaySettings(NULL, 0); + ChangeDisplaySettings(NULL, CDS_FULLSCREEN); } #endif if ( flags & SDL_NOFRAME ) { @@ -1186,7 +1186,7 @@ } #ifndef NO_CHANGEDISPLAYSETTINGS if ( this->screen->flags & SDL_FULLSCREEN ) { - ChangeDisplaySettings(NULL, 0); + ChangeDisplaySettings(NULL, CDS_FULLSCREEN); ShowWindow(SDL_Window, SW_HIDE); } #endif