[X11] Fixed OnMouseMove being called without mouse movement

This commit is contained in:
thefiddler 2014-07-18 17:02:47 +02:00
parent 17aa8051f6
commit 786273dd19

View file

@ -892,7 +892,7 @@ namespace OpenTK.Platform.X11
int x = e.MotionEvent.x;
int y = e.MotionEvent.y;
if (x != 0 || y != 0)
if (x != MouseState.X || y != MouseState.Y)
{
OnMouseMove(
MathHelper.Clamp(x, 0, Width),