- simplified a little the update code/process.
- moved part of the update code from Layer to WinBorder. Fits better there. - renamed a couple members. - some cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13273 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1461,8 +1461,8 @@ ServerWindow::_DispatchGraphicsMessage(int32 code, BPrivate::LinkReceiver &link)
|
||||
(fCurrentLayer->fVisible)
|
||||
#endif
|
||||
;
|
||||
if (fWinBorder->fInUpdate)
|
||||
rreg.IntersectWith(&fWinBorder->yUpdateReg);
|
||||
if (fWinBorder->InUpdate())
|
||||
rreg.IntersectWith(&fWinBorder->RegionToBeUpdated());
|
||||
|
||||
gDesktop->GetDisplayDriver()->ConstrainClippingRegion(&rreg);
|
||||
// rgb_color rrr = fCurrentLayer->fLayerData->viewcolor.GetColor32();
|
||||
|
||||
Reference in New Issue
Block a user