MenuStatusCallback when menu was closed did not return location of pointer relative...
authorDiederick Niehorster <dcnieho@gmail.com>
Mon, 4 Mar 2013 09:54:55 +0000 (09:54 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Mon, 4 Mar 2013 09:54:55 +0000 (09:54 +0000)
commit29ce77740209818d54bdea174d193307314f4084
treea8927d9fb0132bff0d6556edf0e5ceff34798972
parent3d1b35d8992aa26086fa30597e58d171ddf3eeae
MenuStatusCallback when menu was closed did not return location of pointer relative to child window's top-left, it only worked for top level windows.
To make this work, fghPlatformGetCursorPos now can return cursor pos relative to top-left of a specified window's client area (this is untested on X11)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1550 7f0cb862-5218-0410-a997-914c9d46530a
src/fg_menu.c
src/mswin/fg_cursor_mswin.c
src/mswin/fg_main_mswin.c
src/x11/fg_cursor_x11.c