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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user