Nothing special. Just some cleanup to the update code. There is still a problem with layers not being properly updated sometimes when you move windows arround. The same problem occurs a lot more often when resizing windows. I'm traking it... :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12259 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -83,9 +83,10 @@ WinBorder::WinBorder(const BRect &r, const char *name, const int32 look, const i
|
||||
{
|
||||
// unlike BViews, windows start off as hidden
|
||||
fHidden = true;
|
||||
fInUpdate = false;
|
||||
fServerWin = win;
|
||||
fClassID = AS_WINBORDER_CLASS;
|
||||
|
||||
cnt = 0;
|
||||
fMouseButtons = 0;
|
||||
fKeyModifiers = 0;
|
||||
fDecorator = NULL;
|
||||
@@ -311,7 +312,7 @@ void WinBorder::Draw(const BRect &r)
|
||||
fDecorator->SetFocus(true);
|
||||
else
|
||||
fDecorator->SetFocus(false);
|
||||
fDecorator->Draw(fUpdateReg.Frame());
|
||||
fDecorator->Draw(r);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user