Permalink
Browse files

[Linux] Fixed OnMouseMove being called without movement

  • Loading branch information...
1 parent a38e267 commit 07d496d1817357ca2d12d28f7282ef9132cfc29f @thefiddler thefiddler committed Jul 18, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/OpenTK/Platform/Linux/LinuxNativeWindow.cs
View
2 Source/OpenTK/Platform/Linux/LinuxNativeWindow.cs
@@ -290,7 +290,7 @@ MouseState ProcessMouse(MouseState mouse)
}
}
- if (X != previous_mouse.X || Y != previous_mouse.Y)
+ if (x != previous_mouse.X || y != previous_mouse.Y)
{
OnMouseMove(x, y);
}

0 comments on commit 07d496d

Please sign in to comment.