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