mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 02:59:17 +02:00
gtk interface: fixed setting mouse buttons in mouse event, patch from cobines (issue #13946)
git-svn-id: trunk@20571 -
This commit is contained in:
parent
9e77c5b78b
commit
dfd8ef509d
@ -1470,7 +1470,7 @@ begin
|
|||||||
MessI.XPos := MappedXY.X;
|
MessI.XPos := MappedXY.X;
|
||||||
MessI.YPos := MappedXY.Y;
|
MessI.YPos := MappedXY.Y;
|
||||||
|
|
||||||
MessI.Keys := ShiftStateToKeys(ShiftState);
|
MessI.Keys := MessI.Keys or ShiftStateToKeys(ShiftState);
|
||||||
|
|
||||||
MessI.Result:=0;
|
MessI.Result:=0;
|
||||||
// send the message directly to the LCL
|
// send the message directly to the LCL
|
||||||
|
Loading…
Reference in New Issue
Block a user