mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 13:20:13 +02:00
LCL: if WMWindowPosChanged message does not come from interface, ignore
git-svn-id: trunk@24978 -
This commit is contained in:
parent
3fddde242b
commit
4111aa2aef
@ -6871,8 +6871,10 @@ begin
|
||||
' BoundsRealized=',dbgs(FBoundsRealized),' FromIntf=',(Message.WindowPos^.flags and SWP_SourceIsInterface)>0,' ClientRectInvalid=',ClientRectNeedsInterfaceUpdate]);
|
||||
{$ENDIF}
|
||||
|
||||
if ((Message.WindowPos^.flags and SWP_SourceIsInterface) = 0) then
|
||||
if ((Message.WindowPos^.flags and SWP_SourceIsInterface) = 0) then begin
|
||||
inherited WMWindowPosChanged(Message);
|
||||
exit;
|
||||
end;
|
||||
|
||||
// interface widget has moved/resized
|
||||
// -> update realized bounds
|
||||
|
Loading…
Reference in New Issue
Block a user