Windows 10 language flyout guard and indicator colours
This mod hides the startup language flyout in the private Windows 10 shell on Windows 11 24H2+
Author: babamohammed
This mod addresses two issues that can occur when the private Windows 10 shell is used by the Windows 10 taskbar mod on Windows 11 24H2 and later:
- A language flyout that opens at startup. For a limited time after the shell starts, the mod suppresses known language-switcher window classes in this Explorer process. It does not enumerate or hide windows owned by other processes. Clicking the language indicator manually is allowed through the guard.
- The language indicator's orientation and appearance. The optional colour feature uses one theme-aware painter for the indicator's client area and reads the full active keyboard-layout ID, so variants such as Italian (142) display as
ITA 142 rather than being collapsed to ITA IT. It handles paint itself rather than allowing Explorer's legacy grey fill to overwrite the composited background, and it repaints on hover, press, theme, and layout state changes.
Before

After

The guard lasts 20 seconds by default. Each intercepted flyout can extend it by 15 seconds, up to four times the configured duration. No window is closed or destroyed.
Startup reliability. When Explorer starts, Windhawk loads the mod before the taskbar and the language indicator exist, and window-creation hooks only become active after Wh_ModInit returns. A background rescan therefore attaches to the indicator as soon as it appears (every 250 ms, for the first three minutes only, after which it stops), so the mod no longer needs to be toggled manually after logon.
The mod is loaded into explorer.exe processes but skips initialization in the system %SystemRoot%\explorer.exe (checked in code using the real image path, which Fake Explorer path does not alter), so it only acts in the private Windows 10 shell. The flyout sweep is limited to the current process. System files are not replaced.
Overlap with "Fix language indicator in Win10 taskbar under Win11 24H2+". With LanguageIndicatorColours enabled, this mod paints the language indicator itself and Explorer's native paint (which that mod hooks) no longer runs for it, so you do not need both for the indicator. Disable LanguageIndicatorColours if you prefer to keep using the other mod for the indicator.