{"slug": "show-hn-screenfocus-keyboard-focus-follows-the-pointer-across-mac-displays", "title": "Show HN: ScreenFocus – keyboard focus follows the pointer across Mac displays", "summary": "A developer used ChatGPT and Codex to build ScreenFocus, a free macOS app that makes keyboard focus follow the pointer across multiple displays while preserving global shortcuts. The app includes features like focus protection, display border styles, launch-at-login, and automatic pausing when only one monitor is connected. It was the developer's first native Mac app, built with GPT-5.6 Sol and released under the MPL 2.0 license.", "body_md": "I have a multi-monitor setup and spend a lot of time typing in Codex and other AI agents. When I move to another monitor to run a shortcut, focus often stays in Codex or another text app, so the shortcut runs in the wrong place.\n\nI asked ChatGPT if there was a macOS setting or free app for this. It couldn't find one that did exactly what I wanted, so I asked it to prototype one. It built a working version in one go.\n\nI then used Codex to add sensible defaults, focus protection, an optional display border, packaging, documentation, an MPL 2.0 license, a logo, and screenshots.\n\nScreenFocus is the result: keyboard focus follows the pointer across displays while global shortcuts keep working.\n\nThis was my first native Mac app, and I used GPT-5.6 Sol with High reasoning. If you check out the README, help docs, and other Markdown files, you might be surprised by how complete it feels.\n\nI also added Launch at Login, full-border and corner-marker styles, custom colors, automatic pausing when only one monitor is connected, and a few other settings.\n\nComments URL: [https://news.ycombinator.com/item?id=49055525](https://news.ycombinator.com/item?id=49055525)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-screenfocus-keyboard-focus-follows-the-pointer-across-mac-displays", "canonical_source": "https://github.com/therohitdas/ScreenFocus", "published_at": "2026-07-26 07:07:50+00:00", "updated_at": "2026-07-26 07:22:18.160644+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-products"], "entities": ["ChatGPT", "Codex", "ScreenFocus", "GPT-5.6 Sol", "macOS"], "alternates": {"html": "https://wpnews.pro/news/show-hn-screenfocus-keyboard-focus-follows-the-pointer-across-mac-displays", "markdown": "https://wpnews.pro/news/show-hn-screenfocus-keyboard-focus-follows-the-pointer-across-mac-displays.md", "text": "https://wpnews.pro/news/show-hn-screenfocus-keyboard-focus-follows-the-pointer-across-mac-displays.txt", "jsonld": "https://wpnews.pro/news/show-hn-screenfocus-keyboard-focus-follows-the-pointer-across-mac-displays.jsonld"}}