[gnome-shell] overview: Fix stacking of background and desktop icons



commit 175c5d9fc3a06123217151df36ad9ed0b77500f3
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Nov 14 15:34:59 2013 +0000

    overview: Fix stacking of background and desktop icons
    
    If desktop icons are enabled and not covered by maximized windows,
    we will fade them in/out during overview transitions. However when
    moving background handling into mutter/gnome-shell, we ended up with
    the overview background on top of the DESKTOP window clone, hiding
    the fade transition.
    Fix the stack order to bring the effect back.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707671

 js/ui/overview.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 867f7ef..1809fe4 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -112,9 +112,6 @@ const Overview = new Lang.Class({
         // rendering options without duplicating the texture data.
         let monitor = Main.layoutManager.primaryMonitor;
 
-        this._desktopFade = new St.Bin();
-        Main.layoutManager.overviewGroup.add_child(this._desktopFade);
-
         let layout = new Clutter.BinLayout();
         this._stack = new Clutter.Actor({ layout_manager: layout });
         this._stack.add_constraint(new LayoutManager.MonitorConstraint({ primary: true }));
@@ -133,6 +130,9 @@ const Overview = new Lang.Class({
         Main.layoutManager.overviewGroup.add_child(this._backgroundGroup);
         this._bgManagers = [];
 
+        this._desktopFade = new St.Bin();
+        Main.layoutManager.overviewGroup.add_child(this._desktopFade);
+
         this._activationTime = 0;
 
         this.visible = false;           // animating to overview, in overview, animating out


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