[gnome-shell] overview: Add cover pane directly to overviewGroup
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overview: Add cover pane directly to overviewGroup
- Date: Tue, 1 Oct 2013 15:17:51 +0000 (UTC)
commit 46edc053d4758d2f1cb795aea74170e75fc7f9cf
Author: Florian Müllner <fmuellner gnome org>
Date: Sun Sep 29 23:20:27 2013 +0200
overview: Add cover pane directly to overviewGroup
The cover pane is used to block events during transitions, but as
workspaces don't share the same container as other overview elements,
they are currently excempt from the event blocking.
Move the cover pane to the top-level overview container instead.
https://bugzilla.gnome.org/show_bug.cgi?id=709034
js/ui/overview.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 2210dfe..f26169a 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -148,7 +148,7 @@ const Overview = new Lang.Class({
// Dash elements, or mouseover handlers in the workspaces.
this._coverPane = new Clutter.Actor({ opacity: 0,
reactive: true });
- this._stack.add_actor(this._coverPane);
+ Main.layoutManager.overviewGroup.add_child(this._coverPane);
this._coverPane.connect('event', Lang.bind(this, function (actor, event) { return true; }));
this._stack.add_actor(this._overview);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]