Allow backgrounding EvenHub apps

This commit is contained in:
James Babcock committed 2026-08-16 20:59:42 -07:00
1 parent cde29cc4d0
commit b9f48c8e16
10 files changed
+376 -252

No files matched your search

+8
View File
@@ -86,6 +86,14 @@ export function defaultWindowMenuItems(
post: (reply: WorkerAppReply) => void,
): MenuItem[] {
return [
{
// Defocus the app (hand focus to the sidebar) without closing it.
label: "Focus app switcher",
onSelect: (ctx) => {
ctx.stack.pop();
post({ type: "yield-focus", windowId });
},
},
{
label: "Voice input",
onSelect: (ctx) => {