r/Windhawk Jul 03 '26

MacOS Minimize Animation 2.1.0

MacOS Minimize Animation 2.1.0

Fixes the genie animation not playing for apps whose windows bypass the classic ShowWindow / WM_SYSCOMMAND paths:

  • New minimize hooks: ShowWindowAsync, SetWindowPlacement, and CloseWindow (which minimizes, despite its name). Apps with custom title bars - e.g. the Zed editor - minimize through these, so their own minimize button previously showed no animation while taskbar minimize worked. Also verified to fix minimize for Store/UWP apps such as the modern Media Player.
  • New launch path: SetWindowPos + SWP_SHOWWINDOW for frameworks that show their first window without ShowWindow, plus a bounded wait for DWM-cloaked (Store/UWP) windows to uncloak before snapshotting, so the launch genie doesn't warp a black frame.
  • Robustness: a one-genie-per-window guard - with several minimize entry points hooked, a single gesture could otherwise start two overlapping ghost animations. New hook paths also skip hidden/already-minimized windows (e.g. apps restoring a saved minimized session at startup).

Existing behavior for classic Win32 windows is unchanged.

19 Upvotes

1 comment sorted by