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:
parent
6bb38b873b
commit
eab4c7bce9
@ -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;
|
||||||
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user