Added a comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14363 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
42848b0907
commit
77e79df0f7
@ -254,6 +254,7 @@ ServerWindow::ReplaceDecorator()
|
||||
fWinBorder->UpdateDecorator();
|
||||
}
|
||||
|
||||
|
||||
//! Shows the window's WinBorder
|
||||
void
|
||||
ServerWindow::Show()
|
||||
@ -270,10 +271,14 @@ ServerWindow::Show()
|
||||
rootLayer->Unlock();
|
||||
}
|
||||
|
||||
// TODO: This doesn't work: Here we aren't shown yet as RootLayer::ShowWinBorder()
|
||||
// does its work asynchronously. As we lock the rootlayer, I think it could be synchronous.
|
||||
// Otherwise, we need a "Shown()" hook or something like that.
|
||||
if (fDirectWindowData != NULL)
|
||||
_HandleDirectConnection(B_DIRECT_START);
|
||||
}
|
||||
|
||||
|
||||
//! Hides the window's WinBorder
|
||||
void
|
||||
ServerWindow::Hide()
|
||||
|
Loading…
Reference in New Issue
Block a user