Windows 10 IME Tray Icon Fix
Moves the input indicator to the left of the notification area so its width change cannot shift the tray icons. Alternative modes provided.
Author: yumeyao
Default Stock Layout And The Bug

Screen Left <----------------------------------------------------- Screen Right Edge
[Chevron ^] | [SysPager (Tray Icons)] | [IME Indicator] | [Clock] | [Show Desktop]
The notification area (TrayNotifyWnd) is anchored to the right edge of the screen, while child windows are laid out left-to-right. Notice that the IME Indicator sits right in the middle, between the third-party tray icons (SysPager) and the clock.
When "Let me set a different input method for each app window" is enabled in a multilingual setup (e.g., English, Chinese, Japanese):
- While typing in an app, the indicator often displays 2 glyphs (e.g.,
CH + 中 or JP + あ), occupying a wider slot.
- When you click a tray icon (such as Steam or WiFi),
WM_LBUTTONDOWN immediately shifts focus to explorer.exe.
- The shell defaults to English, shrinking the indicator down to 1 glyph (
ENG).
- Because the clock on the right is pinned to the right edge, the shrunk width forces everything to the left of the indicator (
SysPager and Chevron ^) to slide rightward.
- When
WM_LBUTTONUP fires, the icon you aimed at has moved, and your click lands on whichever neighboring icon slid under your cursor.
The Fix
Each can solve the bug alone, but you can customize the taskbar by enabling multiple modes!
Mode 1: Move the input indicator to the leftmost (recommended)

[IME Indicator] | [Chevron ^] | [SysPager (Tray Icons)] | [Clock] | [Show Desktop]
The indicator takes the first slot and everything that used to sit left of it moves right by the indicator's width. Thus, every band is now to the right of the indicator, sits at a fixed distance from the right edge and never moves.
Mimicking Docked Language Bar?
Yes. But the docked language bar is broken in win10 (unstable, and won't work in remote desktop - even if you enable this option in both sides, and the latest MSPY doesn't support it unless you turn on "Use the old version of MSPY") and is completely removed in win11.
Mode 2: Fixed width
Forces the indicator to always occupy a fixed width. The value is in pixels at 100% display scaling and is scaled by the monitor DPI. 36 = one glyph, 58 = glyph + secondary. Other values accepted too.
Mode 3: Hide secondary IME mode glyph (single-glyph mode)
Hides the 中/英 or あ/A button inside the indicator.
Notes and known limitations
- Source code and reverse engineering credit goes to AI bot (deepseek v4.1 flash).
- Heavily guided and reviewed by human (the author) to ensure the minimal path and minimal overhead. (The bots used extra threads, timers...)
- Tested on Windows 10 21H2. Windows 10 20H2 and above (including LTSC 2021, Builds 19042–19045) share the exact same binary codebase, so it should work flawlessly. Earlier builds (1903/1909 and prior) should theoretically work as well, but remain untested.