From e88c1dabec919855e27b3988631c08a23d26662b Mon Sep 17 00:00:00 2001 From: anaximeno Date: Sat, 21 Sep 2024 03:13:46 -0100 Subject: [PATCH] dnd: Only accept reactive actors as target during the drop operation --- js/ui/dnd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/dnd.js b/js/ui/dnd.js index 35cd2c3fc6..f6e86dc5be 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -487,7 +487,7 @@ var _Draggable = new Lang.Class({ if (this.target) target = this.target; else - target = this._dragActor.get_stage().get_actor_at_pos(Clutter.PickMode.ALL, + target = this._dragActor.get_stage().get_actor_at_pos(Clutter.PickMode.REACTIVE, dropX, dropY); // We call observers only once per motion with the innermost