Added print debug code to a number of classes

SendMessage allows for target specification
Included BMessage friend classes to allow building whilst they are absent from BMessage.cpp
More window-related code added


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3004 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-03-23 20:52:37 +00:00
parent dc4e96ca20
commit 8374297262
11 changed files with 551 additions and 38 deletions
+2
View File
@@ -395,6 +395,7 @@ void AddWindowToDesktop(ServerWindow *win, int32 workspace=B_CURRENT_WORKSPACE,
Workspace *w=desktop_private::activescreen->GetActiveWorkspace();
win->SetWorkspace(w);
desktop_private::activescreen->AddWindow(win,workspace);
desktop_private::layerlock.Unlock();
desktop_private::workspacelock.Unlock();
@@ -410,6 +411,7 @@ void RemoveWindowFromDesktop(ServerWindow *win)
lock_layers();
win->SetWorkspace(NULL);
desktop_private::activescreen->RemoveWindow(win);
unlock_layers();
unlock_workspaces();