[X11] Fixed OnMouseMove being called without mouse movement
This commit is contained in:
parent
17aa8051f6
commit
786273dd19
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue