fix: hide switcher move action for temporary windows

This commit is contained in:
Blendman974 committed 2026-11-06 06:33:47 +01:00
1 parent c22f2e5f13
commit 8be15d890c
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -1996,7 +1996,8 @@ class Shell {
},
}]),
);
if (foreground.closeable && this.switcherWindows().filter(window => window.closeable).length > 1) {
const movableWindows = this.switcherWindows().filter(window => window.closeable);
if (movableWindows.length > 1 && movableWindows.includes(foreground)) {
items.push({
label: "Move in app switcher",
description: "Choose this open window's position in the app switcher.",