added a memeber to a server message

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6107 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca 2004-01-16 16:08:32 +00:00
parent 62e8cbba05
commit 7473eb7db8

View File

@ -1455,10 +1455,13 @@ status_t BWindow::AddToSubset(BWindow* window){
if (window->Feel() == B_NORMAL_WINDOW_FEEL &&
(fFeel == B_MODAL_SUBSET_WINDOW_FEEL ||
fFeel == B_FLOATING_SUBSET_WINDOW_FEEL)){
team_id team = Team();
Lock();
session->WriteInt32( AS_ADD_TO_SUBSET );
session->WriteInt32( _get_object_token_(window) );
session->WriteData( &team, sizeof(team_id) );
session->Sync();
session->ReadInt32( &rCode );
Unlock();