Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

Merge fix/issue-511-linux-titlebar-menu: suppress Linux frameless system menu

vastsac81bbc6120d7
diff --cc apps/desktop/electron/main/bootstrap/window.ts
index af70723ad,046d50c25..37c07298b
--- a/apps/desktop/electron/main/bootstrap/window.ts
+++ b/apps/desktop/electron/main/bootstrap/window.ts
@@@ -213,10 -199,9 +214,11 @@@ export async function createWindow(
},
});
const window = windowState.mainWindow;
+ suppressLinuxFramelessSystemMenu(window);
const initialBounds = window.getBounds();
- windowState.workPanelBaseBounds = savedState ? { ...savedState } : { ...initialBounds };
+ windowState.workPanelBaseBounds = restoredBounds
+ ? { ...restoredBounds }
+ : { ...initialBounds };
windowState.workPanelLastAppliedBounds = { ...initialBounds };
resetMenuRendererReady(window);
const isLiveWindow = () =>