From 82be010fd80dec7c0bce25ad41321e1601533c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 11 Jul 2020 23:08:42 +0200 Subject: [PATCH] workspace: Always set state at the end of overview transition We don't change to the zoomed out state when fading to the overview, however we should do that after the transition in case the user switches to the window picker. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2969 --- js/ui/workspace.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 164084a88..d7e179b1d 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1194,11 +1194,13 @@ class Workspace extends St.Widget { _doneLeavingOverview() { this.layout_manager.layout_frozen = false; + this.layout_manager.stateAdjustment.value = 0; this._windows.forEach(w => (w.opacity = 255)); } _doneShowingOverview() { this.layout_manager.layout_frozen = false; + this.layout_manager.stateAdjustment.value = 1; this._windows.forEach(w => (w.opacity = 255)); }