Added a comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14363 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -254,6 +254,7 @@ ServerWindow::ReplaceDecorator()
|
|||||||
fWinBorder->UpdateDecorator();
|
fWinBorder->UpdateDecorator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//! Shows the window's WinBorder
|
//! Shows the window's WinBorder
|
||||||
void
|
void
|
||||||
ServerWindow::Show()
|
ServerWindow::Show()
|
||||||
@@ -270,10 +271,14 @@ ServerWindow::Show()
|
|||||||
rootLayer->Unlock();
|
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)
|
if (fDirectWindowData != NULL)
|
||||||
_HandleDirectConnection(B_DIRECT_START);
|
_HandleDirectConnection(B_DIRECT_START);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//! Hides the window's WinBorder
|
//! Hides the window's WinBorder
|
||||||
void
|
void
|
||||||
ServerWindow::Hide()
|
ServerWindow::Hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user