From 2e87beab0963b96f6614f9ac3511fe72f667dafa Mon Sep 17 00:00:00 2001 From: Ammar Date: Wed, 3 Dec 2025 10:30:07 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20fix:=20add=20macOS=20fullscreen?= =?UTF-8?q?=20keyboard=20shortcut=20(Ctrl+Cmd+F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The togglefullscreen menu role doesn't automatically bind the standard macOS keyboard shortcut. This adds explicit accelerators: - macOS: Ctrl+Command+F (standard macOS fullscreen shortcut) - Windows/Linux: F11 (standard fullscreen shortcut) This enables Rectangle and similar window managers to trigger fullscreen via the standard shortcut. _Generated with mux_ --- src/desktop/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/desktop/main.ts b/src/desktop/main.ts index f12dceabe..0add1b776 100644 --- a/src/desktop/main.ts +++ b/src/desktop/main.ts @@ -172,7 +172,10 @@ function createMenu() { { role: "zoomIn" }, { role: "zoomOut" }, { type: "separator" }, - { role: "togglefullscreen" }, + { + role: "togglefullscreen", + accelerator: process.platform === "darwin" ? "Ctrl+Command+F" : "F11", + }, ], }, {