[gnome-shell] overview: Pass state while calling _animateVisible()



commit 4bfb91c5cd6a705b738a00ff28ffca8063b6b4e5
Author: Suryashankar Das <suryashankardas 2002 gmail com>
Date:   Tue Mar 16 18:21:05 2021 +0530

    overview: Pass state while calling _animateVisible()
    
    Pass OverviewControls.ControlsState.WINDOW_PICKER to the _animateVisible
    function in _hideDone().
    
    Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3876
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1769>

 js/ui/overview.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 75fe6e1a8f..ca5de0c226 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -619,7 +619,7 @@ var Overview = class {
         this.emit('hidden');
         // Handle any calls to show* while we were hiding
         if (this._shown)
-            this._animateVisible();
+            this._animateVisible(OverviewControls.ControlsState.WINDOW_PICKER);
         else
             Main.layoutManager.hideOverview();
 


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