Snap Flyout Instant
Controls the delay before the snap layouts flyout appears and hides
Author: pajs
Windows 11 shows the snap layouts flyout only after you hover the maximize button for a moment (the Windows default is 600 ms). This mod lets you shorten or remove that delay, and optionally change how long the flyout stays visible after the pointer leaves it.
Show delay
The mod finds the timer that Windows starts when the pointer enters the maximize button and replaces its duration with the value from the settings. Other timers in the shell are left alone.
Hide delay
When "Hide delay" is above 0, the mod also replaces the timer that Windows starts when the pointer leaves the flyout (the Windows default is 200 ms). The hide timer is identified by its exact duration (200 ms), by being created through the WinRT thread pool, and by being armed on the flyout's thread within 10 seconds after the flyout is shown. Timers armed after that window use the system hide delay. With the default value of 0 this part is disabled and the behavior is the same as in version 1.0.
Notes
The mod relies on a symbol in twinui.pcshell.dll that a Windows update may rename, which would stop the show delay from being applied.
Tested on Windows 11 build 26300.9457 (twinui.pcshell.dll 10.0.26100.9444).