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
This commit is contained in:
Jasper St. Pierre 2013-03-03 14:15:28 -05:00
parent 39610e6933
commit c1dd971ce9

View File

@ -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