mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 16:37:29 +02:00
carbon: cut invalid mouse coords on mouse moved
git-svn-id: trunk@38490 -
This commit is contained in:
parent
83b759a688
commit
6910980cfa
@ -234,8 +234,8 @@ const
|
||||
MousePoint := GetMousePoint;
|
||||
|
||||
Msg^.Msg := LM_MOUSEMOVE;
|
||||
Msg^.XPos := MousePoint.X;
|
||||
Msg^.YPos := MousePoint.Y;
|
||||
Msg^.XPos := SmallInt(MousePoint.X);
|
||||
Msg^.YPos := SmallInt(MousePoint.Y);
|
||||
Msg^.Keys := GetCarbonMsgKeyState;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user