Moved 'Invalidate' calls in RootLayer.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10934 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2005-01-21 21:06:59 +00:00
parent 855d9d8948
commit fde7aed2ee
+1 -4
View File
@@ -146,7 +146,7 @@ void Desktop::InitMode(void)
RootLayer *rl = new RootLayer(name, 4, this, GetDisplayDriver());
rl->SetScreens(screens, 1, 1);
rl->RebuildFullRegion();
rl->RunThread();
fRootLayerList.AddItem(rl);
}
@@ -188,9 +188,6 @@ void Desktop::SetActiveRootLayer(RootLayer* rl)
return;
fActiveRootLayer = rl;
// TODO: hide mouse in the old ActiveRootLayer & show it in the new ActiveRootLayer
fActiveRootLayer->FullInvalidate(fActiveRootLayer->Bounds());
}
RootLayer* Desktop::ActiveRootLayer(void) const