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:
parent
2811836c94
commit
b0d3a86555
@ -840,7 +840,7 @@ void fgPlatformProcessSingleEvent ( void )
|
|||||||
* private call should be generated.
|
* private call should be generated.
|
||||||
*/
|
*/
|
||||||
if( fgCheckActiveMenu( window, button, pressed,
|
if( fgCheckActiveMenu( window, button, pressed,
|
||||||
event.xbutton.x_root, event.xbutton.y_root ) )
|
event.xbutton.x, event.xbutton.y ) )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user