diff --git a/js/ui/dnd.js b/js/ui/dnd.js index f75bff160..9188cadee 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -250,7 +250,7 @@ _Draggable.prototype = { dropX, dropY); this._dragActor.show(); while (target) { - if (target.reactive && target._delegate && target._delegate.acceptDrop) { + if (target._delegate && target._delegate.acceptDrop) { let [targX, targY] = target.get_transformed_position(); if (target._delegate.acceptDrop(this.actor._delegate, this._dragActor, (dropX - targX) / target.scale_x, diff --git a/js/ui/overview.js b/js/ui/overview.js index 2d41a4390..ce6fbfab5 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -511,6 +511,6 @@ AddWorkspaceButton.prototype = { // Draggable target interface acceptDrop: function(source, actor, x, y, time) { - return this._acceptDropCallback(source, actor, x, y, time); + return this.reactive && this._acceptDropCallback(source, actor, x, y, time); } };