diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 9ac6be631..f223364ae 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -611,13 +611,16 @@ class WorkspacesDisplay extends St.Widget { show(fadeOnPrimary) { this._updateWorkspacesViews(); - 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); + + 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); + } } this._restackedNotifyId =