[gnome-shell/eos3.8: 129/255] overview: Don't hide on relayout



commit bffbb369c4198db6d690e249f7863ebac74b6ff0
Author: Daniel GarcĂ­a Moreno <daniel endlessm com>
Date:   Wed May 29 12:27:20 2019 +0200

    overview: Don't hide on relayout
    
    When the lid is closed and opened again in a desktop without any app
    opened, the overview is hidden and never get shown again. This causes a
    desktop with disabled buttons.
    
    We don't need to hide the overview because we've no workspaces.
    
    https://phabricator.endlessm.com/T24778

 js/ui/overview.js | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index ee3b4ce49c..a153a749b2 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -465,11 +465,6 @@ var Overview = class {
     }
 
     _relayout() {
-        // To avoid updating the position and size of the workspaces
-        // we just hide the overview. The positions will be updated
-        // when it is next shown.
-        this.hide();
-
         this._relayoutNoHide();
     }
 


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