*/
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(