[gnome-shell] layout: don't bother hiding window group



commit ba4780cbd36cf713c9fb8ccef260e5f141668c85
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 6 14:17:19 2013 -0500

    layout: don't bother hiding window group
    
    Right now we hide the window group if we're a greeter.
    We did this to avoid showing the background. These days
    we don't add the background in the first place, so we
    can drop this code.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682429

 js/ui/layout.js |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 12a9e6e..ca3c3e0 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -167,18 +167,8 @@ const LayoutManager = new Lang.Class({
         global.stage.remove_actor(global.window_group);
         this.uiGroup.add_actor(global.window_group);
 
-        // Now, you might wonder why we went through all the hoops to implement
-        // the GDM greeter inside an X11 compositor, to do this at the end...
-        // However, hiding this is necessary to avoid showing the background during
-        // the initial animation, before Gdm.LoginDialog covers everything
-        if (Main.sessionMode.isGreeter) {
-            global.window_group.hide();
-            global.top_window_group.hide();
-        }
-
         global.stage.remove_actor(global.overlay_group);
         this.uiGroup.add_actor(global.overlay_group);
-
         global.stage.add_child(this.uiGroup);
 
         this.screenShieldGroup = new St.Widget({ name: 'screenShieldGroup',


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