I don't know if it's really a bug, but I've found a difference between
the behaviour of freeglut on win32 and on Linux/Unix :
On linux, the mouse cursor position can take a negative x value when it
is at left, outside the main window
(and an y negative value when it is above).
On win32, the value is always positive (0 to 65536), so we have a value
around 65000 instead of a negative value.
I 've solve this problem in my program with a code like this:
if (mousePos.x > 32768) mousePos.x -= 65536;
if (mousePos.y > 32768) mousePos.y -= 65536;
Should this test be included in freeglut ?