Repolode
RamonUnch

RamonUnch/AltSnap

A Windows utility that moves and resizes any window by holding Alt and dragging, a maintained fork of AltDrag.

Stars
5,318
Forks
174
Open issues
133
Last commit
3 days ago

What is it?

AltSnap lets you move and resize windows on Windows by holding the Alt key and clicking anywhere on the window, rather than aiming for a title bar or window border. This interaction is common on Linux desktops and is brought to Windows here. It is a maintained fork of Stefan Sundin's AltDrag, aimed at Windows NT 4 through Windows 11, and is mostly tested on Windows XP and Windows 10.

Compared with AltDrag, this fork removes the window-snapping-while-dragging hook feature, which required injecting a DLL into other applications. As a result it injects nothing into other processes and does not need separate 32-bit and 64-bit builds. The focus-on-typing feature was also removed. Added options include transparent window dragging, a Maximize action, pause-process options, and extra blacklists for finer control.

The project is built with gcc and MinGW-w64, and it also supports Clang, TCC, and Microsoft Visual Studio (CL.EXE) through included makefiles and a batch script. Many settings are available in the options dialog, and some advanced ones are only editable in the AltSnap.ini file.

Key features

  • 01Move and resize windows by holding Alt and clicking anywhere on them.
  • 02Transparent window dragging and a Maximize action.
  • 03Pause-process options and extra blacklists for finer control.
  • 04Injects nothing into other applications, so no 32/64-bit concerns.
  • 05Builds with GCC, Clang, TCC, or Microsoft Visual Studio.

Use cases

  • Quickly repositioning windows on a large or multi-monitor Windows desktop.
  • Resizing windows from any point without hunting for thin window borders.
  • Developers who want a small, auditable window utility built from C source.

Quick start

  1. 1

    Install GCC with MinGW-w64 (for example TDM-gcc or winlibs.com)

  2. 2

    Build the i386 Win32 GCC version from the project folder

    make

Things to know

  • Windows only, mostly tested on Windows XP and Windows 10.
  • Licensed under GPL-3.0, a copyleft license.
  • Recent builds may trigger false-positive antivirus alerts, as the author notes.

Topics

FAQ

What is AltSnap?
A Windows utility that moves and resizes any window by holding Alt and dragging, a maintained fork of AltDrag. AltSnap lets you move and resize windows on Windows by holding the Alt key and clicking anywhere on the window, rather than aiming for a title bar or window border. This interaction is common on Linux desktops and is brought to Windows here. It is a maintained fork of Stefan Sundin's AltDrag, aimed at Windows NT 4 through Windows 11, and is mostly tested on Windows XP and Windows 10.
Is AltSnap free to use? What license does it have?
AltSnap is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
Is AltSnap still maintained?
Actively maintained. The last commit to AltSnap was on Oct 18, 2026.
What can I use AltSnap for?
Quickly repositioning windows on a large or multi-monitor Windows desktop. Resizing windows from any point without hunting for thin window borders. Developers who want a small, auditable window utility built from C source.
How do I install AltSnap?
Install GCC with MinGW-w64 (for example TDM-gcc or winlibs.com) Build the i386 Win32 GCC version from the project folder: make
Where can I get AltSnap?
The source code and installation instructions are on GitHub: https://github.com/RamonUnch/AltSnap

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects