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
This commit is contained in:
parent
819c712006
commit
b16eb7cc2f
@ -350,7 +350,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
|
|||||||
|
|
||||||
mask = CWBackPixmap | CWBorderPixel | CWColormap | CWEventMask;
|
mask = CWBackPixmap | CWBorderPixel | CWColormap | CWEventMask;
|
||||||
|
|
||||||
if( window->IsMenu )
|
if( window->IsMenu || ( gameMode == GL_TRUE ) )
|
||||||
{
|
{
|
||||||
winAttr.override_redirect = True;
|
winAttr.override_redirect = True;
|
||||||
mask |= CWOverrideRedirect;
|
mask |= CWOverrideRedirect;
|
||||||
|
Reference in New Issue
Block a user