Revert "workspacesView: Only animate on show() when geometries are already set"

This reverts commit bda8ba5ed1.

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:
Robert Mader 2020-07-22 20:01:25 +02:00
parent 5f509855e2
commit 8f6c64f607

View File

@ -611,8 +611,6 @@ class WorkspacesDisplay extends St.Widget {
show(fadeOnPrimary) {
this._updateWorkspacesViews();
if (this._actualGeometry && this._fullGeometry) {
for (let i = 0; i < this._workspacesViews.length; i++) {
let animationType;
if (fadeOnPrimary && i == this._primaryIndex)
@ -621,7 +619,6 @@ class WorkspacesDisplay extends St.Widget {
animationType = AnimationType.ZOOM;
this._workspacesViews[i].animateToOverview(animationType);
}
}
this._restackedNotifyId =
Main.overview.connect('windows-restacked',