[gnome-shell] Don't call beginItemDrag() for XDND



commit eab4c7bce9ac963eee17dd2b31af1dd12a24eeef
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Feb 17 14:40:52 2013 -0500

    Don't call beginItemDrag() for XDND
    
    The dragged actors are not overview items.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686984

 js/ui/layout.js |    1 -
 js/ui/panel.js  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index f794b10..062cbdd 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -1076,7 +1076,6 @@ const HotCorner = new Lang.Class({
         if (!Main.overview.visible && !Main.overview.animationInProgress) {
             this.rippleAnimation();
             Main.overview.showTemporarily();
-            Main.overview.beginItemDrag(actor);
         }
 
         return DND.DragMotionResult.CONTINUE;
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 7f023ca..3bcc4ba 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -739,7 +739,6 @@ const ActivitiesButton = new Lang.Class({
         if (pickedActor == this.actor) {
             if (!Main.overview.visible && !Main.overview.animationInProgress) {
                 Main.overview.showTemporarily();
-                Main.overview.beginItemDrag(actor);
             }
         }
 


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