Qt,Qt5: do not send LM_MOVE from viewport of TCustomControl since param is position of viewport by itself.

git-svn-id: trunk@60248 -
This commit is contained in:
zeljko 2019-01-30 17:49:59 +00:00
parent fc99f0b187
commit d7e48acfb9
2 changed files with 2 additions and 4 deletions

View File

@ -17114,6 +17114,7 @@ begin
end;
Result := inherited EventFilter(Sender, Event);
end;
QEventMove: ; // do not flood LCL with viewport position
QEventResize:
begin
// immediate update clientRect !

View File

@ -17083,10 +17083,7 @@ begin
end;
Result := inherited EventFilter(Sender, Event);
end;
{$IFDEF DARWIN}
// issue #34880, do not send move events from viewport.
QEventMove: ;
{$ENDIF}
QEventMove: ; // do not flood LCL with viewport position
QEventResize:
begin
// immediate update clientRect !