From 7b0207ed35ae6109f9db30cf4f5e890daaad5d05 Mon Sep 17 00:00:00 2001 From: anaximeno Date: Mon, 26 Aug 2024 22:25:41 -0100 Subject: [PATCH] deskletManager: Only display placeholder for desklets --- js/ui/deskletManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/deskletManager.js b/js/ui/deskletManager.js index a5d95e9f9f..f3763355c3 100644 --- a/js/ui/deskletManager.js +++ b/js/ui/deskletManager.js @@ -491,6 +491,8 @@ DeskletContainer.prototype = { }, handleDragOver: function(source, actor, x, y, time) { + if (!(source instanceof Desklet.Desklet)) return false; + deskletsDragging = true; if (!global.settings.get_boolean(DESKLET_SNAP_KEY))