Skip to content

Commit

Permalink
[Linux] Fixed OnMouseMove being called without movement
Browse files Browse the repository at this point in the history
  • Loading branch information
thefiddler committed Jul 18, 2014
1 parent a38e267 commit 07d496d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OpenTK/Platform/Linux/LinuxNativeWindow.cs
Expand Up @@ -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);
}
Expand Down

0 comments on commit 07d496d

Please sign in to comment.