Revert "workspacesView: Only animate on show() when geometries are already set"
This reverts commit bda8ba5ed1768ef9bbd5fdf9a9933ef77ed1f94f. For not yet known reasons this caused a regression on the stable branch. Further more it appears not to be needed, as no work depending on it has been backported so far.
This commit is contained in:
parent
5f509855e2
commit
8f6c64f607
@ -611,8 +611,6 @@ class WorkspacesDisplay extends St.Widget {
|
|||||||
|
|
||||||
show(fadeOnPrimary) {
|
show(fadeOnPrimary) {
|
||||||
this._updateWorkspacesViews();
|
this._updateWorkspacesViews();
|
||||||
|
|
||||||
if (this._actualGeometry && this._fullGeometry) {
|
|
||||||
for (let i = 0; i < this._workspacesViews.length; i++) {
|
for (let i = 0; i < this._workspacesViews.length; i++) {
|
||||||
let animationType;
|
let animationType;
|
||||||
if (fadeOnPrimary && i == this._primaryIndex)
|
if (fadeOnPrimary && i == this._primaryIndex)
|
||||||
@ -621,7 +619,6 @@ class WorkspacesDisplay extends St.Widget {
|
|||||||
animationType = AnimationType.ZOOM;
|
animationType = AnimationType.ZOOM;
|
||||||
this._workspacesViews[i].animateToOverview(animationType);
|
this._workspacesViews[i].animateToOverview(animationType);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
this._restackedNotifyId =
|
this._restackedNotifyId =
|
||||||
Main.overview.connect('windows-restacked',
|
Main.overview.connect('windows-restacked',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user