From 175c5d9fc3a06123217151df36ad9ed0b77500f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 14 Nov 2013 15:34:59 +0000 Subject: [PATCH] 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 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/overview.js b/js/ui/overview.js index 867f7ef92..1809fe491 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