forgot to set use to true (not that its useful, but avoid confusion that
authorDiederick Niehorster <dcnieho@gmail.com>
Sun, 29 Jul 2012 05:33:07 +0000 (05:33 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Sun, 29 Jul 2012 05:33:07 +0000 (05:33 +0000)
could arise when returning false)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1379 7f0cb862-5218-0410-a997-914c9d46530a

src/x11/fg_cursor_x11.c

index d8ce64c..ab5e015 100644 (file)
@@ -161,4 +161,6 @@ void fghPlatformGetCursorPos(SFG_XYUse *mouse_pos)
             &junk_window, &junk_window,
             &mouse_pos->X, &mouse_pos->Y,
             &junk_pos, &junk_pos, &junk_mask);
+
+    mouse_pos->Use = GL_TRUE;
 }