提交 c4ae7973 编写于 作者: M Marvin Häuser 提交者: Vitaly Cheptsov

OpenCanopy: Remove redundant AE pointer clipping

上级 03959e0c
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册