From e8565df417aff7ff6c66b4d77d5f584aa39f3a9d Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 4 Feb 2025 15:23:01 -0500 Subject: [PATCH] Do not pass through appicons without window #2218 --- src/appIcons.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/appIcons.js b/src/appIcons.js index 145f4b5..9e5a34d 100644 --- a/src/appIcons.js +++ b/src/appIcons.js @@ -1797,6 +1797,9 @@ export const TaskbarAppIcon = GObject.registerClass( if (source == Main.xdndHandler) { this._previewMenu.close(true) + if (!this._nWindows && !this.window) + return DND.DragMotionResult.MOVE_DROP + if (this._nWindows == 1 || this.window) { this.window ? Main.activateWindow(this.window)