From 8f6c64f60787a03b80eccf3775231c4632dc0bcd Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Wed, 22 Jul 2020 20:01:25 +0200 Subject: [PATCH] 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. --- js/ui/workspacesView.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index f223364ae..9ac6be631 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -611,16 +611,13 @@ 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) - animationType = AnimationType.FADE; - else - animationType = AnimationType.ZOOM; - this._workspacesViews[i].animateToOverview(animationType); - } + for (let i = 0; i < this._workspacesViews.length; i++) { + let animationType; + if (fadeOnPrimary && i == this._primaryIndex) + animationType = AnimationType.FADE; + else + animationType = AnimationType.ZOOM; + this._workspacesViews[i].animateToOverview(animationType); } this._restackedNotifyId =