micstinso/altgrip
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This utility enables Alt+Left Mouse window drag and Alt+RightMouse window resizing
for Windows 11 similar to Linux desktop environments.
Hold ALT + LEFT mouse drag -> move the window under cursor
Hold ALT + RIGHT mouse drag -> resize from the nearest corner
Alt + click -> also raise the window to front
Tray icon (right-click) -> Suspend / Exit
Dependencies: NONE beyond the Windows OS itself.
Links only user32 / shell32 / kernel32 (core Windows DLLs).
Build (MSVC, from a "Developer Command Prompt"):
cl /O2 altdrag.c /link user32.lib shell32.lib /SUBSYSTEM:WINDOWS
Build (MinGW-w64 / gcc):
gcc -O2 -mwindows altdrag.c -o altdrag.exe -luser32 -lshell32
To recreate this project using LLMs a PROMPT.md is provided with all of the
progressive requirements that were iteratively generated through the course
of creating the source code, build scripts, and install scripts. If modifying
anything in this project using AI/LLMs please have the LLM generate modifications
to the PROMPT.md file by using GENPROMPT and the PROMPT.md as a template and check
in the changes so design and design changes can be understood by a human.