BlockDock
A menu-bar utility for macOS that fixes one small but maddening problem: with several monitors, the Dock jumps to whichever screen your cursor last lingered at the bottom of. macOS has no built-in "pin the Dock to a display" setting.
How it works
BlockDock watches the cursor via CGEventTap and puts up an invisible barrier — a strip a few pixels tall along the bottom edge of the monitors where the Dock shouldn't live. The cursor no longer "sticks" at the bottom of those screens, so macOS doesn't move the Dock there.
- Doesn't touch windows or clicks — works with the cursor only
- Pick the monitor for the Dock, or use "Auto" mode
- Adjustable barrier height (2–20 px)
- Launches at login
Download
Free. The app is signed with a Developer ID and notarized by Apple — it installs with an ordinary double-click. Requires macOS 13+, Apple Silicon or Intel.
After installing, grant the app Accessibility access (System Settings → Privacy & Security) — this is required for cursor tracking.