Modified a few constrctors so this is the actualized version

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6723 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca 2004-02-24 11:58:25 +00:00
parent e0947c82c8
commit 91cf2bda4a
2 changed files with 5 additions and 3 deletions

View File

@ -274,7 +274,8 @@ void ServerApp::WindowBroadcast(int32 code)
for(int32 i=0; i<count; i++) for(int32 i=0; i<count; i++)
{ {
ServerWindow *sw = ((WinBorder*)desktop->fWinBorderList.ItemAt(i))->Window(); ServerWindow *sw = ((WinBorder*)desktop->fWinBorderList.ItemAt(i))->Window();
sw->PostMessage(code); BMessage msg(B_QUIT_REQUESTED);
sw->SendMessageToClient(&msg);
} }
desktop->fLayerLock.Unlock(); desktop->fLayerLock.Unlock();
} }

View File

@ -39,6 +39,7 @@ class PortMessage;
class BList; class BList;
class DisplayDriver; class DisplayDriver;
class ServerCursor; class ServerCursor;
class ServerBitmap;
/*! /*!
\class ServerApp ServerApp.h \class ServerApp ServerApp.h