workspacesViews: Update new padding rules for workspacesOnlyOnPrimary
Tim Lunn fixed this for the !workspacesOnlyOnPrimary case, but not the other.
This commit is contained in:
parent
858694f4cc
commit
bb88265d78
@ -128,8 +128,11 @@ const WorkspacesView = new Lang.Class({
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
let ws = new Workspace.Workspace(null, i);
|
let ws = new Workspace.Workspace(null, i);
|
||||||
ws.setGeometry(monitors[i].x, monitors[i].y,
|
let overviewSpacing = Main.overview._spacing;
|
||||||
monitors[i].width, monitors[i].height);
|
ws.setGeometry(monitors[i].x + overviewSpacing/2,
|
||||||
|
monitors[i].y + overviewSpacing/2,
|
||||||
|
monitors[i].width - overviewSpacing,
|
||||||
|
monitors[i].height - overviewSpacing);
|
||||||
global.overlay_group.add_actor(ws.actor);
|
global.overlay_group.add_actor(ws.actor);
|
||||||
this._extraWorkspaces.push(ws);
|
this._extraWorkspaces.push(ws);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user