From 948c2f3aac2e00338ce022b1a31b93d1749eae3b Mon Sep 17 00:00:00 2001 From: spanne Date: Thu, 30 Jun 2005 14:49:54 +0000 Subject: [PATCH] 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 --- freeglut/freeglut/src/freeglut_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/freeglut/freeglut/src/freeglut_main.c b/freeglut/freeglut/src/freeglut_main.c index 2f95b63..7b53ea4 100644 --- a/freeglut/freeglut/src/freeglut_main.c +++ b/freeglut/freeglut/src/freeglut_main.c @@ -1085,6 +1085,7 @@ void FGAPIENTRY glutMainLoopEvent( void ) case UnmapNotify: /* We get this when iconifying a window. */ GETWINDOW( xunmap ); + fgSetWindow( window ); INVOKE_WCB( *window, WindowStatus, ( GLUT_HIDDEN ) ); window->State.Visible = GL_FALSE; break;