to check for menu opening/closing upon button press, should pass cursor position in the window, not in the root window

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1574 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
dcnieho 2013-04-03 11:20:56 +00:00
parent 2811836c94
commit b0d3a86555

View File

@ -840,7 +840,7 @@ void fgPlatformProcessSingleEvent ( void )
* private call should be generated.
*/
if( fgCheckActiveMenu( window, button, pressed,
event.xbutton.x_root, event.xbutton.y_root ) )
event.xbutton.x, event.xbutton.y ) )
break;
/*