Fixing bug [ 1111218 ] fullscreen not working
authorJohn F. Fay <johnffay@nettally.com>
Wed, 27 Apr 2005 17:27:20 +0000 (17:27 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Wed, 27 Apr 2005 17:27:20 +0000 (17:27 +0000)
Better late than never.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@586 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_window.c

index cd9b029..5e9d791 100644 (file)
@@ -350,7 +350,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
 
     mask = CWBackPixmap | CWBorderPixel | CWColormap | CWEventMask;
 
-    if( window->IsMenu )
+    if( window->IsMenu || ( gameMode == GL_TRUE ) )
     {
         winAttr.override_redirect = True;
         mask |= CWOverrideRedirect;