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:
@@ -146,7 +146,7 @@ void Desktop::InitMode(void)
|
|||||||
|
|
||||||
RootLayer *rl = new RootLayer(name, 4, this, GetDisplayDriver());
|
RootLayer *rl = new RootLayer(name, 4, this, GetDisplayDriver());
|
||||||
rl->SetScreens(screens, 1, 1);
|
rl->SetScreens(screens, 1, 1);
|
||||||
rl->RebuildFullRegion();
|
rl->RunThread();
|
||||||
|
|
||||||
fRootLayerList.AddItem(rl);
|
fRootLayerList.AddItem(rl);
|
||||||
}
|
}
|
||||||
@@ -188,9 +188,6 @@ void Desktop::SetActiveRootLayer(RootLayer* rl)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
fActiveRootLayer = rl;
|
fActiveRootLayer = rl;
|
||||||
|
|
||||||
// TODO: hide mouse in the old ActiveRootLayer & show it in the new ActiveRootLayer
|
|
||||||
fActiveRootLayer->FullInvalidate(fActiveRootLayer->Bounds());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RootLayer* Desktop::ActiveRootLayer(void) const
|
RootLayer* Desktop::ActiveRootLayer(void) const
|
||||||
|
|||||||
Reference in New Issue
Block a user