mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 14:19:13 +02:00
Revert r54305 #491d57ecbc "LCL-GTK2: Prevent an occational freeze." Caused regressions.
git-svn-id: trunk@55396 -
This commit is contained in:
parent
a714db306b
commit
edd4943a4f
@ -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