WorkspacesView: set the clip when setting the geometry
Fixes clipping the windows when you open the overview with the workspace switcher expanded and then shrink it. https://bugzilla.gnome.org/show_bug.cgi?id=694092
This commit is contained in:
parent
0ceefb48c8
commit
d3ab367fcd
@ -151,6 +151,9 @@ const WorkspacesView = new Lang.Class({
|
|||||||
|
|
||||||
for (let i = 0; i < this._workspaces.length; i++)
|
for (let i = 0; i < this._workspaces.length; i++)
|
||||||
this._workspaces[i].setGeometry(x, y, width, height);
|
this._workspaces[i].setGeometry(x, y, width, height);
|
||||||
|
|
||||||
|
if (Main.overview.visible && !Main.overview.animationInProgress)
|
||||||
|
this.actor.set_clip(this._x, this._y, this._width, this._height);
|
||||||
},
|
},
|
||||||
|
|
||||||
_lookupWorkspaceForMetaWindow: function (metaWindow) {
|
_lookupWorkspaceForMetaWindow: function (metaWindow) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user