[gnome-shell] layout: Remove some outdated set_hidden_from_pick calls
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Remove some outdated set_hidden_from_pick calls
- Date: Wed, 21 Aug 2013 20:53:18 +0000 (UTC)
commit 7234aa601f7cd5802a74bb4d0792ce52fb5ecc53
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Aug 21 15:53:57 2013 -0400
layout: Remove some outdated set_hidden_from_pick calls
XDND no longer uses CLUTTER_PICK_ALL, so we don't need to hide
certain actors from pick anymore.
js/ui/layout.js | 5 -----
js/ui/xdndHandler.js | 2 --
2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 7176d52..9024695 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -227,11 +227,6 @@ const LayoutManager = new Lang.Class({
this._backgroundGroup.lower_bottom();
this._bgManagers = [];
- // This blocks the XDND picks from finding the activities button
- // and we never attempt to pick anything from it anyway so make
- // it invisible from picks
- Shell.util_set_hidden_from_pick(global.top_window_group, true);
-
// Need to update struts on new workspaces when they are added
global.screen.connect('notify::n-workspaces',
Lang.bind(this, this._queueUpdateRegions));
diff --git a/js/ui/xdndHandler.js b/js/ui/xdndHandler.js
index 61e1e4d..68da0bf 100644
--- a/js/ui/xdndHandler.js
+++ b/js/ui/xdndHandler.js
@@ -18,7 +18,6 @@ const XdndHandler = new Lang.Class({
// Used as a drag actor in case we don't have a cursor window clone
this._dummy = new Clutter.Actor({ width: 1, height: 1, opacity: 0 });
Main.uiGroup.add_actor(this._dummy);
- Shell.util_set_hidden_from_pick(this._dummy, true);
this._dummy.hide();
global.init_xdnd();
@@ -69,7 +68,6 @@ const XdndHandler = new Lang.Class({
this._cursorWindowClone = new Clutter.Clone({ source: cursorWindow });
Main.uiGroup.add_actor(this._cursorWindowClone);
- Shell.util_set_hidden_from_pick(this._cursorWindowClone, true);
// Make sure that the clone has the same position as the source
this._cursorWindowClone.add_constraint(constraint_position);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]