LCL-GTK3: Report TShiftState = ssRight correctly. Issue #36930, patch from Anton Kavalenka.

git-svn-id: trunk@63021 -
This commit is contained in:
juha 2020-04-19 14:21:17 +00:00
parent 29baf5cbce
commit db00577e92

View File

@ -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;