mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:18:09 +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;
|
MousePoint := GetMousePoint;
|
||||||
|
|
||||||
Msg^.Msg := LM_MOUSEMOVE;
|
Msg^.Msg := LM_MOUSEMOVE;
|
||||||
Msg^.XPos := MousePoint.X;
|
Msg^.XPos := SmallInt(MousePoint.X);
|
||||||
Msg^.YPos := MousePoint.Y;
|
Msg^.YPos := SmallInt(MousePoint.Y);
|
||||||
Msg^.Keys := GetCarbonMsgKeyState;
|
Msg^.Keys := GetCarbonMsgKeyState;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user