Ooops, forgot to set the current window in the last commit. I'll have to
test better before comitting... :-] git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@650 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
a7b1f61d79
commit
948c2f3aac
@ -1085,6 +1085,7 @@ void FGAPIENTRY glutMainLoopEvent( void )
|
|||||||
case UnmapNotify:
|
case UnmapNotify:
|
||||||
/* We get this when iconifying a window. */
|
/* We get this when iconifying a window. */
|
||||||
GETWINDOW( xunmap );
|
GETWINDOW( xunmap );
|
||||||
|
fgSetWindow( window );
|
||||||
INVOKE_WCB( *window, WindowStatus, ( GLUT_HIDDEN ) );
|
INVOKE_WCB( *window, WindowStatus, ( GLUT_HIDDEN ) );
|
||||||
window->State.Visible = GL_FALSE;
|
window->State.Visible = GL_FALSE;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user