Yield any macOS monitor to your Windows PC in one click.
A lightweight, 100% native macOS menu bar utility that cuts the real video signal to a chosen display — letting your monitor auto-switch to a Windows PC (or console) on DisplayPort/HDMI without unplugging cables or trapping your cursor on a darkened screen.
Interactive Website & Demo · Download v1.1.0 (.dmg) · How It Works
When a monitor is shared between a Mac and a Windows PC (e.g., Mac on HDMI/USB-C, Windows PC on DisplayPort), turning on your Windows PC won't wake that screen while macOS keeps sending an active video signal.
| Approach | Triggers Auto-Switch to PC? | Keeps Cursor & Windows on Mac? | Works Without Unplugging? |
|---|---|---|---|
| Screen Dimmer / Black Overlay | ❌ No (signal stays active) | ❌ No (cursor gets trapped) | ✅ Yes |
| Unplugging Video Cable | ✅ Yes | ✅ Yes | ❌ No (wears ports) |
| DisplayYield | ✅ Yes (real signal cut + DDC/CI) | ✅ Yes (windows consolidate) | ✅ Yes (one click or ⌃⌥⌘W) |
- Interactive Desk Minimap — Visual side-by-side preview of your physical left/right monitor layout right inside the menu bar popover; click any screen tile to yield or reclaim it immediately.
- True Hardware Signal Cut — Calls macOS WindowServer's
CGSConfigureDisplayEnabledto genuinely disconnect the video output across USB-C, DisplayPort, HDMI, and adapters. - Live Apple Silicon DDC/CI Engine — Reads each monitor's current active input (
HDMI 2,DP 1, etc.) overIOAVServiceReadI2C(VCP0x60), lets you switch directly toDP 1,DP 2,HDMI 1,HDMI 2, orUSB-C, and supports Auto-Switch Input Before Yield. - Identical Dual-Monitor Ready — Distinguishes identical screens (e.g., dual MSI MAG272CQR) using hardware UUIDs, serial suffixes, refresh rates, live input tags, inline custom renaming, and a floating Identify HUD overlay.
- Zero-Permission Global Hotkeys — Built with Carbon Event Manager (
⌃⌥⌘Wtoggles your starred display,⌃⌥⌘Rrestores all displays) with no Accessibility permission prompt. - Safety Guard & Clean Recovery — Prevents disabling your last active monitor, tracks yielded displays even if their
CGDirectDisplayIDchanges after wake, and automatically restores all screens when you quit.
- Download
DisplayYield-v1.1.0-macOS.dmg(or.zip) from GitHub Releases. - Drag
DisplayYield.appinto/Applications. - Since this open-source release is ad-hoc signed, if macOS Gatekeeper prompts on first launch, either Right-click → Open or run:
xattr -cr /Applications/DisplayYield.app open /Applications/DisplayYield.app
Requires only macOS 13+ and Apple Command Line Tools (full Xcode is not required):
git clone https://github.com/panda0x-dev/DisplayYield.git
cd DisplayYield
./scripts/build-app.sh
cp -R dist/DisplayYield.app /Applications/
open /Applications/DisplayYield.app| Trigger | Action |
|---|---|
⌃ ⌥ ⌘ W |
Yield / Reclaim your starred (⭐) target monitor from any app |
⌃ ⌥ ⌘ R |
Restore All yielded displays back to macOS |
| Click Minimap Tile | Instantly toggle that left or right display |
| Right-Click Menu Bar Icon | Quick menu for Toggle, Restore All, and Identify Displays |
Monitor OSD Tip: Enable Auto Input Switch (and DDC/CI for direct port switching) in your monitor's on-screen menu for instant handoff to your Windows PC.
flowchart LR
A[Click 'Yield to PC'<br/>or press ⌃⌥⌘W] --> B{Auto/Manual<br/>DDC Switch?}
B -- Yes --> C[IOAVServiceWriteI2C<br/>VCP 0x60 → DP/HDMI]
C --> D[CGSConfigureDisplayEnabled<br/>enabled = false]
B -- No --> D
D --> E[macOS cuts video signal<br/>& consolidates windows]
E --> F[Monitor detects no signal<br/>& wakes on Windows PC]
DisplayYield/
├── Package.swift # Zero-dependency Swift package
├── Resources/Info.plist # Menu bar agent bundle metadata (LSUIElement)
├── scripts/build-app.sh # Release compiler + .app / .zip / .dmg packager
├── docs/ # Interactive GitHub Pages showcase (EN/TR)
└── Sources/DisplayYield/
├── DisplayYieldApp.swift # NSStatusItem + auto-sized NSPopover lifecycle
├── Models/DisplayDevice.swift # Display & DDCInputSource models
├── Services/
│ ├── CoreDisplayBridge.swift # CGSConfigureDisplayEnabled + CoreDisplay metadata
│ ├── DDCController.swift # Async Apple Silicon IOAVService Read/Write I2C
│ ├── DisplayManager.swift # State, safety guard, UUID caching, Launch at Login
│ └── HotkeyManager.swift # Carbon global hotkeys (⌃⌥⌘W, ⌃⌥⌘R)
└── UI/
├── MenuBarPopoverView.swift # Native SwiftUI popover with Desk Minimap & Settings
└── IdentifyOverlayController.swift # Floating translucent Identify HUD panels
Released under the MIT License. Built by panda0x.