From 01d00ef0d057e85bb0606157f5ce546c34abbe29 Mon Sep 17 00:00:00 2001 From: dcnieho Date: Sun, 29 Jul 2012 05:33:07 +0000 Subject: [PATCH] forgot to set use to true (not that its useful, but avoid confusion that could arise when returning false) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1379 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/x11/fg_cursor_x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freeglut/freeglut/src/x11/fg_cursor_x11.c b/freeglut/freeglut/src/x11/fg_cursor_x11.c index d8ce64c..ab5e015 100644 --- a/freeglut/freeglut/src/x11/fg_cursor_x11.c +++ b/freeglut/freeglut/src/x11/fg_cursor_x11.c @@ -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; }