mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-08 22:12:38 +02:00
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:
parent
fc99f0b187
commit
d7e48acfb9
@ -17114,6 +17114,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
Result := inherited EventFilter(Sender, Event);
|
Result := inherited EventFilter(Sender, Event);
|
||||||
end;
|
end;
|
||||||
|
QEventMove: ; // do not flood LCL with viewport position
|
||||||
QEventResize:
|
QEventResize:
|
||||||
begin
|
begin
|
||||||
// immediate update clientRect !
|
// immediate update clientRect !
|
||||||
|
@ -17083,10 +17083,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
Result := inherited EventFilter(Sender, Event);
|
Result := inherited EventFilter(Sender, Event);
|
||||||
end;
|
end;
|
||||||
{$IFDEF DARWIN}
|
QEventMove: ; // do not flood LCL with viewport position
|
||||||
// issue #34880, do not send move events from viewport.
|
|
||||||
QEventMove: ;
|
|
||||||
{$ENDIF}
|
|
||||||
QEventResize:
|
QEventResize:
|
||||||
begin
|
begin
|
||||||
// immediate update clientRect !
|
// immediate update clientRect !
|
||||||
|
Loading…
Reference in New Issue
Block a user