Merge default close-app selection

This commit is contained in:
Blendman974 committed 2026-11-06 06:05:32 +01:00
commit 53391a310e
3 files changed
+9 -10

No files matched your search

+2 -3
View File
@@ -1967,9 +1967,8 @@ class Shell {
},
});
}
// Close current app sits first but the menu opens on Focus app switcher, so a
// reflexive tap never closes the window.
const initialSelection = items.length;
// Prefer closing the current app; pinned windows fall back to the switcher.
const initialSelection = 0;
items.push(
{
// Defocus the app (hand focus to the sidebar) without closing it: the