projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
to check for menu opening/closing upon button press, should pass cursor position...
[freeglut]
/
src
/
x11
/
fg_main_x11.c
diff --git
a/src/x11/fg_main_x11.c
b/src/x11/fg_main_x11.c
index
0bf967d
..
cc57185
100644
(file)
--- a/
src/x11/fg_main_x11.c
+++ b/
src/x11/fg_main_x11.c
@@
-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;
/*