xdnd: Only pick reactive actors

This is the only sane way to get select windows in the overview,
as workspace._dropRect blocks our view otherwise.
This commit is contained in:
Adel Gadllah 2013-02-22 19:58:38 +01:00
parent f644bee831
commit b37afcdba1

View File

@ -82,7 +82,7 @@ const XdndHandler = new Lang.Class({
},
_onPositionChanged: function(obj, x, y) {
let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, x, y);
let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.REACTIVE, x, y);
// Make sure that the cursor window is on top
if (this._cursorWindowClone)