@devries-cameron20 / t3code Mirror · read-only / commits / a48a0766d6
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 08:15 UTC

fix(desktop): allow pointer lock in the built-in browser (#25275)

Co-authored-by: Michael Feldstein <michael@feldstein-macbook-air.tail8b57b.ts.net> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net>

Michael Feldstein committed Nov 1, 2026 at 12:57 UTC a48a0766d66312c8848c4df31dc499bf6fbf2e60
2 files changed +2
apps/desktop/src/preview/BrowserSession.test.ts
+1
@@ -172,6 +172,7 @@ describe("BrowserSession", () => {
172 "clipboard-sanitized-write",
173 "geolocation",
174 "fullscreen",
175 + "pointerLock",
176 "loopback-network",
177 ]) {
178 assert.isTrue(requestAllows(permission), `request handler should allow ${permission}`);
apps/desktop/src/preview/BrowserSession.ts
+1
@@ -24,6 +24,7 @@ const ALLOWED_PREVIEW_PERMISSIONS: ReadonlySet<string> = new Set([
24 "geolocation",
25 // DesktopWindow confines HTML fullscreen to the guest's webview.
26 "fullscreen",
27 + "pointerLock",
28 // Loopback requests already succeed in Electron 44; permission-aware sign-in widgets query first.
29 "loopback-network",
30 // Deny local-fonts to untrusted previews: it exposes installed-font fingerprints and file bytes.