XueshiQiao /AnyDrag

Modifier+drag to move any window smoothly on macOS, exactly like native speed

★ 300⑂ 21👁 2⑃ 23● 43▤ 45
SwiftGPL-3.0Created 2026-03-28xueshi.dev/anydrag
Download: v26.11.129v26.11.129 ↓26.11.1292026-11-17
300
stars
21
forks
2
watchers
23
prs
43
issues
45
releases

README

AnyDrag



  Move any window by holding a modifier and dragging anywhere on it — as smooth as a native title bar.



  🇺🇸 English •
  🇨🇳 中文



  
  
  
  
  



  ⭐ If AnyDrag makes your windows feel better, please star the repo — it helps others find it.
  
  ✨ More apps I made → xueshi.dev


Move any window by holding a modifier key and dragging anywhere on it — no need to aim for the title bar.

https://github.com/user-attachments/assets/82b18801-0f96-4e9d-b05a-ac7cdd18d490

 Why AnyDrag?

Tools like BetterTouchTool offer similar modifier-drag features, but they move windows through the Accessibility API — an indirect path that routes every frame through the target app's process, adding noticeable lag.

AnyDrag takes a different approach: it simulates a native title-bar drag at the window-server level. The window moves exactly the way it does when you grab its real title bar by hand — zero per-frame IPC, no Accessibility round-trips, no lag. That smoothness is the whole point, and no other modifier-drag tool on macOS matches it.

 ✨ Features

Everything below is configured through a native System-Settings-style window — there are no config files to hand-edit.

 🪟 Core gestures

Hold your primary modifier (Option by default) and:

| Gesture | Action |
|---------|--------|
| Modifier + drag | Move the window from anywhere on it — not just the title bar |
| Modifier + double-click | Maximize the window; double-click again to restore its original size |
| Modifier + right-click | Open the tiling panel |

Three-finger drag (optional, Settings → Window Drag): rest three fingers on the trackpad and drag anywhere on a window to move it — no modifier at all. It builds on macOS's own three-finger drag, so turn that on first under System Settings → Accessibility → Pointer Control → Trackpad Options → Use trackpad for dragging → Three Finger Drag. Hold the left-drag resize modifier (Shift by default, set on the Window Resize page) during a three-finger drag to resize from the nearest corner instead. Note that while it's on, a three-finger drag that starts on a window moves the window rather than selecting text.

 🗂️ Tiling panel

Modifier + right-click opens a panel to quickly arrange the window:

- Move & Resize — snap to halves, quarters, or any zone
- Fill & Arrange — fill the screen, or lay multiple windows out side by side
- Full Screen — go full screen in one click
- Move to display — send the window straight to another monitor

 ↔️ Window Resize

Resize a window from its nearest corner without aiming for the tiny corner handle. Right-drag is on by default; you can switch the trigger or turn it off in Settings:

- Right-drag — hold the primary modifier and right-drag.
- Left-drag — hold a dedicated Left-drag Resize Modifier and left-drag.

Enable Always resize from bottom-right in Settings → Window Resize to keep the top-left corner fixed, wherever you start dragging. It is off by default, preserving nearest-corner resizing.

A glowing Corner Bracke

Top issues

Latest release

v26.11.129 v26.11.129 2026-11-17
What's New in 26.11.129

  More Apps — Settings has a new More Apps page that lists my other apps. Click Get and AnyDrag downloads the app, checks that it is signed by the same developer, puts it in your Applications folder and opens it. Each row also has a button that leads to the app's source on GitHub or to its App Store page.
  Easier to find — The More Apps by Author… item in the menu bar menu and the entry on the About page now open this page instead of the website.


26.11.129 更新内容

  更多应用 — 设置里新增「更多应用」页面,列出我的其他应用。点「获取」,AnyDrag 会下载这个应用、确认它由同一位开发者签名、把它放进「应用程序」文件夹并打开。每一行还有一个按钮,可以打开这个应用在 G

Snapshot: 2026-11-17T21:58:29Z · Data license Apache-2.0 · JSON