Fixed mouse motion events on Linux.

This commit is contained in:
the_fiddler 2008-05-04 18:23:42 +00:00
parent 9ea06f2895
commit 58cd07ec2a

View file

@ -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;
}
}