fix(electrobun): remove all -webkit-app-region, use JS window drag on AGOR title
This commit is contained in:
parent
fe441a86fe
commit
03e1f18282
6 changed files with 73 additions and 22 deletions
|
|
@ -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": () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue