mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 13:00:31 +02:00
Merged revision(s) 55396 #edd4943a4f from trunk:
Revert r54305 #491d57ecbc "LCL-GTK2: Prevent an occational freeze." Caused regressions. ........ git-svn-id: branches/fixes_1_8@55403 -
This commit is contained in:
parent
cd6e93e397
commit
fc36a3b1a9
@ -6510,6 +6510,7 @@ var
|
|||||||
LCLHeight:=LCLControl.Height;
|
LCLHeight:=LCLControl.Height;
|
||||||
WidthHeightChanged:=(LCLWidth<>GtkWidth) or (LCLHeight<>GtkHeight);
|
WidthHeightChanged:=(LCLWidth<>GtkWidth) or (LCLHeight<>GtkHeight);
|
||||||
if LCLControl.ClientRectNeedsInterfaceUpdate then begin
|
if LCLControl.ClientRectNeedsInterfaceUpdate then begin
|
||||||
|
WidthHeightChanged:=true;
|
||||||
//DebugLn(['UpdateLCLSize InvalidateClientRectCache ',DbgSName(LCLControl)]);
|
//DebugLn(['UpdateLCLSize InvalidateClientRectCache ',DbgSName(LCLControl)]);
|
||||||
LCLControl.InvalidateClientRectCache(false);
|
LCLControl.InvalidateClientRectCache(false);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user