diff --git a/src/OpenTK/Platform/Linux/LinuxInput.cs b/src/OpenTK/Platform/Linux/LinuxInput.cs index efa45c70..894a258e 100644 --- a/src/OpenTK/Platform/Linux/LinuxInput.cs +++ b/src/OpenTK/Platform/Linux/LinuxInput.cs @@ -512,7 +512,7 @@ namespace OpenTK.Platform.Linux void HandlePointerMotion(MouseDevice mouse, PointerEvent e) { - Vector2 delta = new Vector2((float)e.X, (float)e.Y); + Vector2 delta = new Vector2((float)e.DeltaX, (float)e.DeltaY); if (mouse != null) { mouse.State.SetIsConnected(true);