src/video/windib/SDL_dibvideo.c
branchSDL-1.3
changeset 1705 fc731a7d83ed
parent 1704 03fb364e3283
--- a/src/video/windib/SDL_dibvideo.c	Sat Jun 24 03:43:21 2006 +0000
+++ b/src/video/windib/SDL_dibvideo.c	Sat Jun 24 04:31:42 2006 +0000
@@ -805,7 +805,7 @@
         bounds.right = SDL_windowX + video->w;
         bounds.bottom = SDL_windowY + video->h;
         AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE),
-                           FALSE, 0);
+                           (GetMenu(SDL_Window) != NULL), 0);
         width = bounds.right - bounds.left;
         height = bounds.bottom - bounds.top;
         if ((flags & SDL_FULLSCREEN)) {