About this project
AltSnap is a maintained continuation of Stefan Sundin's AltDrag, a Windows utility that lets you move and resize windows by holding the Alt key and clicking anywhere on the window, rather than aiming at a title bar or border. The README notes this behavior is common on Linux distributions and is straightforward to implement on Windows.
The project targets Windows users broadly, from Windows NT 4 through Windows 11, though it is mostly tested on Windows XP and Windows 10. It aims to stay current with few bugs while remaining feature-rich.
Key differences from the original AltDrag, as described in the README:
- The "Hooks windows" feature was removed. It provided window snapping during normal dragging but required injecting a DLL into every application, which the author describes as a security risk and a source of substantial code complexity, and it forced running both 32-bit and 64-bit versions simultaneously. AltSnap injects nothing into other applications, so users do not need to worry about 32-bit versus 64-bit systems.
- The "focus on typing" feature was disabled as the author found it unusable.
- The source code is described as much simpler, with added options such as transparent window dragging, a Maximize action, pause process options, and more blacklists for finer control.
- The fork also fixes many bugs and unwanted behaviors from the original AltDrag.
Configuration: many new features appear in the options dialog, while some are only available by editing the AltSnap.ini file (middle-click the tray icon to open it).
Antivirus false positives: the README states that recent builds trigger alerts, usually from SecureAge APEX and sometimes other vendors, and that these are false positives. The author says the number of false positives was reduced by changing build flags and switching to an older NSIS installer version, and notes Chocolatey does not consider up to five VirusTotal positives suspicious.
Building: AltSnap builds with gcc + MinGW-w64. The README suggests installing the latest version (the author uses TDM-gcc 10.3, MinGW64-based) or GCC from winlibs.com. Documented make targets include: `make` for i386 Win32 GCC, `make -fMakefiledb` for i386 GCC debug, `make -fMakefileX64` for x86_64 GCC, `make -fMakefileX64db` for x86_64 GCC debug, `make -fMakefileClang` for i386 with LLVM Clang, `make -fMakefileTCC` for i386 with tcc, and `make -fMakefileARM64Docker` for ARM64 Windows via Docker (see BUILD_ARM64.md). `mkmsvc.bat` builds with Microsoft Visual Studio (CL.EXE); a console environment can be set up with VsDevCmd.bat using the `-arch` and `-host_arch` parameters.
Documentation: the README points to the project Wiki and to the original AltDrag documentation, warning that the original docs are not 100% accurate for this fork and advising readers to check the changelog for details. The repository also includes translated READMEs in Chinese and Korean.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.