git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@159
7f0cb862-5218-0410-a997-
914c9d46530a
(96) src/freeglut_window.c:551 Removed extra carriage return for Windows users (John F. Fay)
+
+*******************************************************************************************
+* Changes on 05 August 2003
+*******************************************************************************************
+
+(97) src/freeglut_main.c:816 and :1571, set the current window (John F. Fay)
*/
if( fgStructure.Window->Callbacks.Mouse == NULL )
break;
+ /*
+ * Set the current window
+ */
+ fgSetWindow ( window );
+
/*
* Remember the current modifiers state
( ( (GetKeyState( VK_LMENU ) < 0 ) || ( GetKeyState( VK_RMENU ) < 0 )) ? GLUT_ACTIVE_ALT : 0 );
/*
+ * Set the current window
+ */
+ fgSetWindow ( window );
+
+ /*
* Finally execute the mouse callback
*/
fgStructure.Window->Callbacks.Mouse(