GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(desktop): SnapShot shortcut helper no longer adds a Dock icon on … · incognitojam/styal@6b4b190

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/desktop/src/snapShot
    • MacModifierPairShortcutProcess.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/desktop/src/snapShot/MacModifierPairShortcutProcess.ts‎

Copy file name to clipboardExpand all lines: apps/desktop/src/snapShot/MacModifierPairShortcutProcess.ts
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ const MAC_MODIFIER_PAIR_DEVICE_MASKS: Record<SnapShotModifier, readonly [number,
1111
meta: [0x8, 0x10],
1212
};
1313

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.
1416
const POLLER_SCRIPT = `
17+
ObjC.import("AppKit");
18+
$.NSApplication.sharedApplication.setActivationPolicy($.NSApplicationActivationPolicyProhibited);
1519
ObjC.import("CoreGraphics");
1620
ObjC.import("unistd");
1721
function run(argv) {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.