server no longer turn into a zombie if closed with an app running

ServerApp now supports workspace activation along with client notification


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8623 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2004-08-22 22:33:57 +00:00
parent a8ca1ab348
commit 49de2e8b4f
5 changed files with 52 additions and 87 deletions
+2 -2
View File
@@ -49,7 +49,7 @@
#include "Desktop.h"
//#define DEBUG_KEYHANDLING
//#define DEBUG_SERVER
#define DEBUG_SERVER
#ifdef DEBUG_KEYHANDLING
# include <stdio.h>
@@ -785,7 +785,7 @@ void AppServer::Broadcast(int32 code)
app=(ServerApp*)fAppList->ItemAt(i);
if(!app)
{ printf("PANIC in AppServer::Broadcast()\n"); continue; }
app->PostMessage(code, sizeof(int32), (int8*)&code);
app->PostMessage(code);
}
release_sem(fAppListLock);
}