diff --git a/Platform/OpenCanopy/Input/InputSimAbsPtr.c b/Platform/OpenCanopy/Input/InputSimAbsPtr.c index 83b99f0929ef9b9e3433c9ebd9624fa8d5ee953d..f157e98914457a27f133b70a1be0f6d9b7f93d20 100644 --- a/Platform/OpenCanopy/Input/InputSimAbsPtr.c +++ b/Platform/OpenCanopy/Input/InputSimAbsPtr.c @@ -115,14 +115,8 @@ InternalAppleEventNotification ( EventType = Information->EventData.PointerEventType; if ((EventType & APPLE_EVENT_TYPE_MOUSE_MOVED) != 0) { - Context->X = MIN ( - (UINT32) Information->PointerPosition.Horizontal, - Context->MaxX - ); - Context->Y = MIN ( - (UINT32) Information->PointerPosition.Vertical, - Context->MaxY - ); + Context->X = (UINT32) Information->PointerPosition.Horizontal; + Context->Y = (UINT32) Information->PointerPosition.Vertical; } if ((EventType & APPLE_EVENT_TYPE_MOUSE_DOWN) != 0) {