[gnome-shell] xdndHandler: Ensure that the XDnD clone is on top of the panel
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] xdndHandler: Ensure that the XDnD clone is on top of the panel
- Date: Sun, 3 Mar 2013 20:42:14 +0000 (UTC)
commit c1dd971ce9647c08ca23bee1dd829cd745d35ee1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Mar 3 14:15:28 2013 -0500
xdndHandler: Ensure that the XDnD clone is on top of the panel
The panel is added to the uiGroup, not the overlay group, so
to stack on top of it, we need to add ourselves to the uiGroup
as well.
https://bugzilla.gnome.org/show_bug.cgi?id=695073
js/ui/xdndHandler.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/xdndHandler.js b/js/ui/xdndHandler.js
index e9f3612..85af2fa 100644
--- a/js/ui/xdndHandler.js
+++ b/js/ui/xdndHandler.js
@@ -68,7 +68,7 @@ const XdndHandler = new Lang.Class({
source: cursorWindow});
this._cursorWindowClone = new Clutter.Clone({ source: cursorWindow });
- global.overlay_group.add_actor(this._cursorWindowClone);
+ 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]