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:
maxim 2017-06-26 23:08:38 +00:00
parent cd6e93e397
commit fc36a3b1a9

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;