More bugfixes for BWindow construction
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2906 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2d51f602e9
commit
f098890e88
@ -325,6 +325,7 @@ void ServerApp::_DispatchMessage(int32 code, int8 *buffer)
|
||||
PortLink *replylink=new PortLink(reply_port);
|
||||
replylink->SetOpCode(AS_SET_SERVER_PORT);
|
||||
replylink->Attach((int32)newwin->_receiver);
|
||||
replylink->Attach((int32)newwin->_token);
|
||||
replylink->Flush();
|
||||
|
||||
delete replylink;
|
||||
|
@ -81,6 +81,8 @@ ServerWindow::ServerWindow(BRect rect, const char *string, uint32 wlook,
|
||||
_workspace_index=index;
|
||||
_workspace=NULL;
|
||||
|
||||
_token=win_token_handler.GetToken();
|
||||
|
||||
AddWindowToDesktop(this,index);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user