fix sizing of all-workspace windows in the overview

Window can have more then one clones on different workspaces.
https://bugzilla.gnome.org/show_bug.cgi?id=603078
This commit is contained in:
Maxim Ermilov
2010-02-19 21:27:07 +03:00
parent 5b1d52c5e7
commit 49a9335f68
2 changed files with 25 additions and 26 deletions

View File

@ -373,8 +373,11 @@ MosaicView.prototype = {
if (newNumWorkspaces > oldNumWorkspaces) {
// Slide new workspaces in from offscreen
for (let w = oldNumWorkspaces; w < newNumWorkspaces; w++)
// New workspaces can contain windows.
for (let w = oldNumWorkspaces; w < newNumWorkspaces; w++) {
this._workspaces[w].positionWindows(0);
this._workspaces[w].slideIn(oldScale);
}
} else {
// Slide old workspaces out
for (let w = 0; w < lostWorkspaces.length; w++) {