From 77e79df0f7dda43f213932250283256b2a5104a0 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Wed, 12 Oct 2005 14:41:02 +0000 Subject: [PATCH] Added a comment git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14363 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/ServerWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/servers/app/ServerWindow.cpp b/src/servers/app/ServerWindow.cpp index ecd7519b2f..195e2e029d 100644 --- a/src/servers/app/ServerWindow.cpp +++ b/src/servers/app/ServerWindow.cpp @@ -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()