Don't call beginItemDrag() for XDND

The dragged actors are not overview items.

https://bugzilla.gnome.org/show_bug.cgi?id=686984
This commit is contained in:
Cosimo Cecchi 2013-02-17 14:40:52 -05:00
parent 6bb38b873b
commit eab4c7bce9
2 changed files with 0 additions and 2 deletions

View File

@ -1076,7 +1076,6 @@ const HotCorner = new Lang.Class({
if (!Main.overview.visible && !Main.overview.animationInProgress) { if (!Main.overview.visible && !Main.overview.animationInProgress) {
this.rippleAnimation(); this.rippleAnimation();
Main.overview.showTemporarily(); Main.overview.showTemporarily();
Main.overview.beginItemDrag(actor);
} }
return DND.DragMotionResult.CONTINUE; return DND.DragMotionResult.CONTINUE;

View File

@ -739,7 +739,6 @@ const ActivitiesButton = new Lang.Class({
if (pickedActor == this.actor) { if (pickedActor == this.actor) {
if (!Main.overview.visible && !Main.overview.animationInProgress) { if (!Main.overview.visible && !Main.overview.animationInProgress) {
Main.overview.showTemporarily(); Main.overview.showTemporarily();
Main.overview.beginItemDrag(actor);
} }
} }