diff --git a/Source/OpenTK/Platform/X11/X11Input.cs b/Source/OpenTK/Platform/X11/X11Input.cs index bc020bd5..5c4b37de 100644 --- a/Source/OpenTK/Platform/X11/X11Input.cs +++ b/Source/OpenTK/Platform/X11/X11Input.cs @@ -190,7 +190,7 @@ namespace OpenTK.Platform.X11 break; case XEventName.MotionNotify: - mouse.Position = new System.Drawing.Point(mouse.X, mouse.Y); + mouse.Position = new System.Drawing.Point(e.MotionEvent.x, e.MotionEvent.y); break; } }