mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 23:21:02 +00:00
Fixed mouse motion events on Linux.
This commit is contained in:
parent
0ac14a65f4
commit
d5e047d7bb
|
@ -190,7 +190,7 @@ namespace OpenTK.Platform.X11
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case XEventName.MotionNotify:
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue