Download for Apple Silicon (v1.0.0)
HaoDrag-1.0.0-arm64.dmg · For M1, M2, M3, M4 and newer Macs. Signed and notarized by Apple.
macOS 14+ · v1.0.0
Move and resize any macOS window from anywhere inside it—without clicking the title bar, aiming at thin borders, or even pressing a mouse button. Hold two modifier keys and glide your pointer.
HaoDrag-1.0.0-arm64.dmg · For M1, M2, M3, M4 and newer Macs. Signed and notarized by Apple.
HaoDrag-1.0.0-x86_64.dmg · Native Intel build. Signed and notarized by Apple.
Pure Swift 6 with zero third-party dependencies. Browse the code, report an issue, or build it yourself.
Hold Shift + Command and glide pointer — drag from inside the window
Hold Shift + Command and move the pointer to drag whichever window sits underneath—no need to aim for the title bar.
Hold Option + Shift and glide the pointer to resize smoothly from the bottom-right corner while keeping the top-left corner anchored.
Move or resize windows sitting behind your active app without stealing focus. An optional switch in the menu bar brings them forward if you prefer.
Pressing any regular key (like ⌘⇧P or ⌘⇧4) or clicking the mouse cancels the gesture on the spot. You can also adjust the activation dead zone (0–16 pt) or swap modifier pairs in the menu bar.
When you press the modifier pair, HaoDrag locates the top-most window via CGWindowListCopyWindowInfo matched against AXWindows with geometric tolerance—skipping slow DOM tree traversals inside browsers and Electron apps.
Pointer coordinates come straight from CGEvent in the native Accessibility coordinate space, so multi-display layouts and negative coordinates work with zero drift.
Updates run on a dedicated .userInteractive single-flight worker thread instead of timer throttling: the latest pointer position is sent immediately, never queued behind stale frames, and stops the instant you let go. During a gesture, App Nap is inhibited and the target app’s AXEnhancedUserInterface is temporarily turned off to eliminate implicit animation lag.
When you are not holding the modifiers, HaoDrag only listens for flagsChanged. Mouse and key-cancellation monitors are attached on demand and torn down on release.
No network requests, no analytics, and no log files written to disk. Everything stays on your Mac and logs only to Apple’s Unified Logging (os.Logger).
Uses macOS SMAppService for login startup. Quit from the menu bar, move HaoDrag.app to the Trash, and remove it from Accessibility settings to uninstall completely.