The Workspaces layer will now also be updated when the window hidden/shown is not on
the current workspace - this fixes bug #1191. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21491 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
66dae31027
commit
b9c1e099e2
@ -1490,6 +1490,7 @@ Desktop::ShowWindow(WindowLayer* window)
|
||||
ActivateWindow(window);
|
||||
} else {
|
||||
// then we don't need to send the fake mouse event either
|
||||
_WindowChanged(window);
|
||||
UnlockAllWindows();
|
||||
return;
|
||||
}
|
||||
@ -1527,7 +1528,8 @@ Desktop::HideWindow(WindowLayer* window)
|
||||
|
||||
if (FocusWindow() == window)
|
||||
SetFocusWindow(_CurrentWindows().LastWindow());
|
||||
}
|
||||
} else
|
||||
_WindowChanged(window);
|
||||
|
||||
if (fWorkspacesLayer != NULL)
|
||||
fWorkspacesLayer->WindowRemoved(window);
|
||||
|
Loading…
Reference in New Issue
Block a user