Snap windows by dragging them to a screen edge

Since version 2.2.0, SMBAct snaps windows with the mouse as well as with the keyboard. Drag a window by its title bar to an edge or a corner of the screen: a translucent footprint shows where the window will go and names the layout (“½ Left half”), and when you let go the window takes that place. Move away from the edge before you let go and nothing happens. While you drag, marks at the screen edges show every zone and its share of the screen.

It works on macOS 27, Windows 10, GNOME and KDE Plasma (on Wayland and on X11). On macOS 15 and 26 it is not available yet, Windows 11 has not been checked yet, and Xfce, Cinnamon and MATE are not supported.

The default zones

Drag the window toIt becomes
the left edge / the right edgethe left half / the right half
the top edgemaximized
a cornerthat quarter
the bottom edge: its left, middle or right partthe first, centre or last third
  • The pointer counts, not the window. A zone arms when the pointer reaches its mark at the screen edge, so you never push the window far off the screen. A quick throw works too.
  • The same layouts as the hotkeys. A window dropped on the left edge lands exactly where SMBAct’s “left half” hotkey puts it. Each edge and corner can get another layout (halves, thirds, fourths, quarters, sixths, eighths, maximize, center), or none, and the Mouse page offers ready divisions: halves and quarters, halves, thirds or sixths.
  • Docks, taskbars and panels. Aim for the screen edge behind the bar: the window lands beside it, never under it.
  • Two or more displays. Every display has the same zones. On an edge between two displays a zone appears only after a short pause, so moving a window across does not catch it.
  • Drag a placed window away and it gets its earlier size back (on Windows when you let go).
  • Never placed: dialogs, palettes, picture-in-picture and windows that cannot be resized, windows in the system’s full-screen mode, and apps on SMBAct’s Excluded apps list.

Turn it on

The feature is off by default. Open SMBAct, go to Mouse in the sidebar and switch on Position windows by dragging, or use Position with the mouse in the tray menu. Like the hotkeys, it needs an active license or the trial.

One snapping at a time: SMBAct asks first

macOS, Windows, GNOME, Ubuntu and KDE Plasma snap dragged windows themselves. When the system’s snapping is on, SMBAct asks before it changes anything, and lists by name the system settings it would change:

  • SMBAct: the system’s own snapping is off while SMBAct runs. It comes back when you quit SMBAct or turn the feature off, and Give it back on the Mouse page returns it at once.
  • Both: the system keeps the screen edges, and SMBAct’s zones appear a little inside the edge while you hold a key (Shift by default, ⇧ on a Mac). Nothing in the system is changed. KDE Plasma has no “Both”.
  • Cancel leaves everything as it was.

SMBAct changes no system setting without this question, and nothing in its MCP server or command line can change one.

On each system

macOS 27

SMBAct switches off “Drag windows to left or right edge of screen to tile” (and “Drag windows to menu bar to fill screen” when the top edge has a zone) while it runs. It leaves Stage Manager’s strip alone, waits while Mission Control is open, and a drop survives macOS’s switch to the next desktop. It uses the Accessibility permission SMBAct already has: nothing new to allow.

Watch the full demo (0:59)

Windows 10

SMBAct keeps Snap from docking windows at the screen edges while it runs, without writing any Windows setting. Each display uses its own scale. A window you drag away gets its earlier size back when you let go, because Windows keeps the size fixed while it moves a window. Windows 11 runs the same code but has not been checked yet; there, while “Show snap layouts when I drag a window to the top of my screen” is ticked, the top zone needs Shift.

Ubuntu and GNOME (Wayland and Xorg)

SMBAct takes over GNOME’s edge tiling and Ubuntu’s Tiling Assistant (Enhanced Tiling) and gives them back when it quits. Other tiling extensions it finds, such as Tiling Shell, Pop Shell or Forge, are named on the Mouse page and left alone. On GNOME under Wayland the drags come from SMBAct’s GNOME Shell extension 2.2.0: SMBAct offers the update, and GNOME starts it after the next login (guide).

KDE Plasma (Wayland and X11)

SMBAct holds KWin’s screen-edge tiling and maximize off while it runs; on Wayland it does that in the running KWin, without rewriting System Settings, and on Plasma’s X11 session it writes KWin’s two options and restores them when it quits. The drags come from SMBAct’s KWin script, which SMBAct loads itself (guide). KDE has no “Both” mode: on Wayland KDE gives apps no key to read during a drag, and on X11 Shift and Alt / Meta are KWin’s own drag keys.

Watch the full demo (0:43)

Limits

  • macOS: only macOS 27. On macOS 15 and 26 the Mouse page says the feature is not available; the keyboard layouts work there.
  • Windows: checked on Windows 10. Windows 11 is not checked yet.
  • Linux: GNOME and KDE Plasma only, on Wayland and X11. Not on Xfce, Cinnamon or MATE yet, and not under other Wayland compositors such as Sway or Hyprland. Layouts by hotkey work there as before.
  • No zones of your own shape: each edge and corner gets one of SMBAct’s layouts. To draw your own zones on Windows, see PowerToys FancyZones and its alternatives.
  • The settings export does not include the Mouse page’s settings yet.

Questions

Does it replace the keyboard shortcuts? No. Hotkeys, the search popup and the switcher work as before; dragging is one more way to reach the same layouts. See control windows with the keyboard and move a window to another monitor.

What happens to my system settings if SMBAct crashes? SMBAct saves each original value before it changes one. The next start gives the values back, or takes over again if you still chose SMBAct.

How does it compare with Rectangle or Magnet? Both snap by dragging on a Mac, on any recent macOS. SMBAct needs macOS 27 for dragging, and adds the same layouts on Windows and Linux plus a window switcher: SMBAct vs Rectangle, SMBAct vs Magnet.

More: all SMBAct videos, SMBAct 2.2.0 and 2.2.1 release notes, download SMBAct.

Ready to give SMBAct a try?

Keep your workspace organized!

SMBAct: all-in-one cross-platform window manager and switcher