Undo 15810 again; it messed up the window lists (as WindowLayer::InWorkspace() and WindowLayer::Workspaces() must be in sync).
Might reveal other problems in this area, that are worth looking into. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15823 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
696e72709e
commit
a342fafcf4
@ -1402,8 +1402,7 @@ Desktop::AddWindow(WindowLayer *window)
|
||||
window->SetWorkspaces(workspace_to_workspaces(CurrentWorkspace()));
|
||||
} else {
|
||||
// subset windows are visible on all workspaces their subset is on
|
||||
// (but floating windows default to not visible)
|
||||
window->SetWorkspaces(window->IsModal() ? window->SubsetWorkspaces() : 0);
|
||||
window->SetWorkspaces(window->SubsetWorkspaces());
|
||||
}
|
||||
|
||||
_ChangeWindowWorkspaces(window, 0, window->Workspaces());
|
||||
|
Loading…
Reference in New Issue
Block a user