Skip to content
JaderoChan

JaderoChan/WWClose

Using Win+W instead to Alt+F4 to close window on WIndows! likes Cmd+W on MacOS.

Using Win+W instead to Alt+F4 to close window on WIndows! likes Cmd+W on MacOS.

0 0C++Push 8d agoListed 9d agoMIT

No GitHub topics on this repo.

  • C++77.7%
  • CMake19.6%
  • C2.7%
View on GitHub

Report a problem

1 Review

WWClose is a small, focused Windows utility with a clear user story: make closing the active window feel closer to Cmd+W on macOS by remapping Win+W away from Widgets and toward an Alt+F4-style close action. I like that the project stays narrow instead of turning into a general hotkey manager. The code reflects that: the Win32 message loop, tray icon, registry-backed startup setting, language selection, and focused-window handling are all kept in a compact C++/CMake structure. The desktop fallback in focused_window_getter.cpp, where the shell taskbar receives the close command so the Windows shutdown dialog appears, is a nice detail because it preserves expected Alt+F4 behavior rather than only handling normal app windows.

The README is also better than many early utilities: it explains the motivation, the Windows 10/11 requirement, build commands, submodule cloning, dependencies, and both English/Chinese documentation. The tray menu, autostart support, localized UI files, and release binaries make this feel usable rather than just experimental source code.

The biggest adoption blockers are trust and project hygiene. Since this is a keyboard-hook tray app distributed as an .exe, users will want a visible LICENSE file, signed or checksummed releases, clearer install/uninstall notes, and maybe a short explanation of what registry keys are written. The README says MIT, but GitHub does not detect a license file. I’d also add CI for at least a Windows CMake build, plus a small smoke-test or documented manual test matrix for cases like elevated windows, desktop focus, startup launch, and language switching. A few topics such as windows, hotkey, win32, cmake, and keyboard-shortcuts would also make the project easier to discover. Overall, this is a clean and practical utility with a specific ergonomic payoff; a little more packaging, release transparency, and maintenance scaffolding would make it much easier for cautious Windows users to try.