[gnome-shell] workspace: Always set state at the end of overview transition



commit 82be010fd80dec7c0bce25ad41321e1601533c71
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jul 11 23:08:42 2020 +0200

    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 164084a884..d7e179b1d1 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));
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]