mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 18:50:45 +02:00
LCL-GTK3: Report TShiftState = ssRight correctly. Issue #36930, patch from Anton Kavalenka.
git-svn-id: trunk@63021 -
This commit is contained in:
parent
29baf5cbce
commit
db00577e92
@ -665,10 +665,10 @@ begin
|
||||
Result := Result or MK_LBUTTON;
|
||||
|
||||
if AState and GDK_BUTTON2_MASK <> 0 then
|
||||
Result := Result or MK_RBUTTON;
|
||||
Result := Result or MK_MBUTTON;
|
||||
|
||||
if AState and GDK_BUTTON3_MASK <> 0 then
|
||||
Result := Result or MK_MBUTTON;
|
||||
Result := Result or MK_RBUTTON;
|
||||
|
||||
if AState and GDK_BUTTON4_MASK <> 0 then
|
||||
Result := Result or MK_XBUTTON1;
|
||||
|
Loading…
Reference in New Issue
Block a user