git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12558 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-05-03 21:43:51 +00:00
parent 265db80516
commit 24bc7597eb

View File

@ -483,7 +483,7 @@ Layer::StartRebuildRegions( const BRegion& reg, Layer *target, uint32 action, BP
{
STRACE(("Layer(%s)::StartRebuildRegions() START\n", GetName()));
RBTRACE(("\n\nLayer(%s)::StartRebuildRegions() START\n", GetName()));
if(!fParent)
if (!fParent)
fFullVisible = fFull;
BRegion oldVisible = fVisible;
@ -1304,7 +1304,7 @@ Layer::resize_layer(float x, float y)
BRect rect(fFull.Frame());
rect.right += x;
rect.bottom += y;
fParent->StartRebuildRegions(BRegion(rect), this, B_LAYER_RESIZE, pt);
fDriver->CopyRegionList(&fRootLayer->fCopyRegList, &fRootLayer->fCopyList, fRootLayer->fCopyRegList.CountItems(), &fFullVisible);