From b16eb7cc2fcf964e2330db60da3561e7d71465de Mon Sep 17 00:00:00 2001 From: fayjf Date: Wed, 27 Apr 2005 17:27:20 +0000 Subject: [PATCH] Fixing bug [ 1111218 ] fullscreen not working Better late than never. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@586 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_window.c b/freeglut/freeglut/src/freeglut_window.c index cd9b029..5e9d791 100644 --- a/freeglut/freeglut/src/freeglut_window.c +++ b/freeglut/freeglut/src/freeglut_window.c @@ -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;