Do not pass through appicons without window

#2218
This commit is contained in:
Charles Gagnon
2025-02-04 15:23:01 -05:00
parent 2544eb1774
commit e8565df417

View File

@@ -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)