The best way to control Claude Code, Codex and more from any computer or phone
fix(desktop): SnapShot shortcut helper no longer adds a Dock icon on macOS (#13286)
Guillermo Casanova committed
Sep 24, 2026 at 00:35 UTC
6b4b19096a7ea22fe0850972df4bce5a5a6c8263
1 file changed
+4
apps/desktop/src/snapShot/MacModifierPairShortcutProcess.ts
+4
@@ -11,7 +11,11 @@ const MAC_MODIFIER_PAIR_DEVICE_MASKS: Record<SnapShotModifier, readonly [number,
11
meta: [0x8, 0x10],
12
};
13
14
+// The CoreGraphics query connects osascript to the window server, which registers it as a
15
+// foreground app attributed to T3 Code. Go background-only first so it never gets a Dock tile.
16
const POLLER_SCRIPT = `
17
+ObjC.import("AppKit");
18
+$.NSApplication.sharedApplication.setActivationPolicy($.NSApplicationActivationPolicyProhibited);
19
ObjC.import("CoreGraphics");
20
ObjC.import("unistd");
21
function run(argv) {