6 Oct
2025
6 Oct
'25
4:02 a.m.
In CEF-based applications, ime_ui_update_window may be called from a different thread or process than the UI thread owning the input context. Directly modifying ctx-\>hWnd in such cases breaks the association between the HIMC handle and its window, which causes subsequent composition string retrieval (CompStr) to fail. This change restricts ctx-\>hWnd updates to the UI thread to keep the input context consistent across threads and processes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9097#note_117634