fix(electrobun): remove all -webkit-app-region, use JS window drag on AGOR title

This commit is contained in:
Hibryda 2026-03-20 06:50:47 +01:00
parent fe441a86fe
commit 03e1f18282
6 changed files with 73 additions and 22 deletions

View file

@ -308,6 +308,15 @@ const rpc = BrowserView.defineRPC<PtyRPCSchema>({
}
},
"window.setPosition": ({ x, y }: { x: number; y: number }) => {
try {
mainWindow.setPosition(x, y);
return { ok: true };
} catch {
return { ok: false };
}
},
// ── Keybinding handlers ──────────────────────────────────────────────
"keybindings.getAll": () => {