# HG changeset patch # User Sam Lantinga # Date 1030982537 0 # Node ID 8b1c1ae7af1180e174b92a71abb891ef32569c73 # Parent ffa4ca907c67b9fa3dfbe168da3901e373ca9f7f Fixed a typo in a previous patch diff -r ffa4ca907c67 -r 8b1c1ae7af11 src/video/windx5/SDL_dx5video.c --- a/src/video/windx5/SDL_dx5video.c Mon Sep 02 15:58:29 2002 +0000 +++ b/src/video/windx5/SDL_dx5video.c Mon Sep 02 16:02:17 2002 +0000 @@ -1138,7 +1138,7 @@ y -= GetSystemMetrics(SM_CYCAPTION)/2; } swp_flags = (SWP_NOCOPYBITS | SWP_FRAMECHANGED | SWP_SHOWWINDOW); - if ( was_visible && (video->flags & SDL_FULLSCREEN) ) { + if ( was_visible && !(video->flags & SDL_FULLSCREEN) ) { swp_flags |= SWP_NOMOVE; } if ( video->flags & SDL_FULLSCREEN ) {