Revert r54305 #491d57ecbc "LCL-GTK2: Prevent an occational freeze." Caused regressions.

git-svn-id: trunk@55396 -
This commit is contained in:
juha 2017-06-26 10:28:44 +00:00
parent a714db306b
commit edd4943a4f

View File

@ -6510,6 +6510,7 @@ var
LCLHeight:=LCLControl.Height;
WidthHeightChanged:=(LCLWidth<>GtkWidth) or (LCLHeight<>GtkHeight);
if LCLControl.ClientRectNeedsInterfaceUpdate then begin
WidthHeightChanged:=true;
//DebugLn(['UpdateLCLSize InvalidateClientRectCache ',DbgSName(LCLControl)]);
LCLControl.InvalidateClientRectCache(false);
end;