forked from Blendman974/faceclaw
fix: select close current app by default in system menu
This commit is contained in:
3 files changed
+9
-10
No files matched your search
@@ -1957,9 +1957,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
|
||||
|
||||
Reference in new issue
Block a user