[gnome-shell] overview: Move comment
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overview: Move comment
- Date: Thu, 23 Jul 2015 11:02:46 +0000 (UTC)
commit 6f215427f86ecc1d586c40ff3f8072a9718ffa89
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jul 16 15:14:50 2015 +0200
overview: Move comment
js/ui/overview.js | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 5519003..89c6237 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -107,12 +107,6 @@ const Overview = new Lang.Class({
this._overviewCreated = true;
- // The main Background actors are inside global.window_group which are
- // hidden when displaying the overview, so we create a new
- // one. Instances of this class share a single CoglTexture behind the
- // scenes which allows us to show the background with different
- // rendering options without duplicating the texture data.
-
let layout = new Clutter.BinLayout();
this._stack = new Clutter.Actor({ layout_manager: layout });
this._stack.add_constraint(new LayoutManager.MonitorConstraint({ primary: true }));
@@ -127,6 +121,11 @@ const Overview = new Lang.Class({
y_expand: true });
this._overview._delegate = this;
+ // The main Background actors are inside global.window_group which are
+ // hidden when displaying the overview, so we create a new
+ // one. Instances of this class share a single CoglTexture behind the
+ // scenes which allows us to show the background with different
+ // rendering options without duplicating the texture data.
this._backgroundGroup = new Meta.BackgroundGroup();
Main.layoutManager.overviewGroup.add_child(this._backgroundGroup);
this._bgManagers = [];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]