Fixed mouse motion events on Linux.

This commit is contained in:
the_fiddler 2008-05-04 18:23:42 +00:00
parent 0ac14a65f4
commit d5e047d7bb

View file

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