[gnome-shell] xdnd: Only pick reactive actors



commit b37afcdba128ad7ecadb03d5817ad6e2a2a2e18c
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Fri Feb 22 19:58:38 2013 +0100

    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.

 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 a662b44..e9f3612 100644
--- a/js/ui/xdndHandler.js
+++ b/js/ui/xdndHandler.js
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]