June 19, 2026
12:51 a.m.
That helps "Call of Duty: Black Ops Cold War" which otherwise stops processing keyboard input after popping up chat window once (because it tracks WM_IME_STARTCOMPOSITION / WM_IME_ENDCOMPOSITION and ignores keys while in composition states; while itself does SetCompositionString when popping up chat window, even though with L"" string). The first patch ("imm32/tests: Flush events in test_ImmSetCompositionWindow().") fixes test_ImmSetCompositionWindow() on my WM here which randomly fails because focus transition events (which influence IME context set / clear) are arriving late. The same flush helps added tests to avoid the same problem. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11193#note_143566