百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

AltSnap

> 编程语言
开源

继续维护 Stefan Sundin 的 AltDrag

5.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

继续维护 Stefan Sundin 的 AltDrag

English | 中文 | 한국어

AltSnap

Fork from Stefan Sundin's AltDrag.

Check the Wiki: https://github.com/RamonUnch/AltSnap/wiki

Original documentation: https://stefansundin.github.io/altdrag/doc/

Note that the documentation is not 100% accurate because it is a fork. Read the changelog for more details.

It allows you to move and resize windows by using the Alt key and clicking wherever on the window instead of relying on very precise clicking. This behavior is very common on Linux distributions and is not actually hard to implement on Windows.

This fork tries to keep a version up to date with minimal amount of bugs while keeping it feature-rich.

It is oriented towards all Windows users from Windows NT 4 to Windows 11, even though it is mostly tested on Windows XP and Windows 10.

Main differences: To simplify the code greatly the Hooks windows feature was removed, it allowed you have windows snapping while dragging them normally. It required however to inject a dll in every application and induced thus an obvious security risk. The amount of mess added to the code just for this feature was substantial and in addition forced to have both a 32bits and a 64bits version of the program running at the same time.

This version injects nothing into other applications. This means you do not have to worry whether you have a 32 or a 64bit operating system.

Another feature that was disabled is focus on typing, that was too much unusable for me to even start testing, so I removed it.

Otherwise this has a much simpler source code, added a few extra options, such as transparent windows dragging, Maximize action, pause process options, more blacklists for finer control of AltSnap etc.

Finally it fixed a ton of undesired behavior and bugs from the original AltDrag.

WHAT'S NEW

Many new features can be seen in the option dialog box, however some of them are only available through editing the AltSnap.ini file (middle click on tyhe tray icon for this).

VirusTotal false positive

You will see with the latest builds that there are some alerts, usually from SecureAge APEX and sometimes from other vendors. Those are false positives, and I stopped contacting the APEX team for every release because it is a waste of time I would rather spend on improving the program. I already reduced the number of false positives significantly, simply by changing build flags and by switching to an older version of the NSIS installer system. This is an indication of the impertinence of some modern antivirus solutions. Chocolatey considers that up to five positives on VirusTotal is not even suspicious.

Build

AltSnap builds with gcc + MinGW-w64 Just install the latest version (I use TDM-gcc 10.3, MinGW64 based) You can also use GCC from winlibs.com

> make for i386 Win32 GCC build.

> make -fMakefiledb for i386 GCC debug build.

> make -fMakefileX64 for x86_64 GCC build.

> make -fMakefileX64db for x86_64 GCC debug build.

> make -fMakefileClang for i386 build using LLVM Clang.

> make -fMakefileTCC for i386 build using tcc, Bellard's thiny c compiler

> make -fMakefileARM64Docker for ARM64 Windows build using Docker (see BUILD_ARM64.md)

> mkmsvc.bat for builds with Microsoft Visual Studio (CL.EXE).

For Visual Studio you can setup a console environement using the VsDevCmd.bat command with the -arch and -host_arch parameters to your needs.

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •C
  • •desktop
  • •window-manager
  • •windows

> 标签

Cdesktopwindow-managerwindows

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言