mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 16:21:04 +00:00
Fixed mouse motion events on Linux.
This commit is contained in:
parent
9ea06f2895
commit
58cd07ec2a
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue