a quick fix for offscreen layers drawing region, ie BitmapDrawing works again

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14937 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-11-15 11:18:33 +00:00
parent 07184a9e61
commit 8f90c77db9

View File

@ -512,7 +512,7 @@ ServerWindow::CreateLayerTree(BPrivate::LinkReceiver &link, Layer **_parent)
// TODO: rework the clipping stuff to remove RootLayer dependency and then
// remove this hack:
if (fWinBorder->IsOffscreenWindow()) {
newLayer->fVisible.Set(newLayer->fFrame);
newLayer->fDrawingRegion.Set(newLayer->fFrame);
}
if (_parent) {