diff -urN wine-11.6-orig/dlls/winex11.drv/xim.c wine-11.6/dlls/winex11.drv/xim.c --- wine-11.6-orig/dlls/winex11.drv/xim.c 2026-04-04 05:03:21 +0900 +++ wine-11.6/dlls/winex11.drv/xim.c 2026-04-27 22:25:58 +0900 @@ -189,8 +189,6 @@ if ((ime_comp_buf = realloc( ime_comp_buf, sizeof(WCHAR) ))) *ime_comp_buf = 0; else ERR( "Failed to allocate preedit buffer\n" ); - activate_ime_hkl( hwnd ); - NtUserPostMessage( hwnd, WM_WINE_IME_NOTIFY, IMN_WINE_SET_OPEN_STATUS, TRUE ); post_ime_update( hwnd, 0, ime_comp_buf, NULL ); return -1; @@ -206,7 +204,6 @@ ime_comp_buf = NULL; post_ime_update( hwnd, 0, NULL, NULL ); - NtUserPostMessage( hwnd, WM_WINE_IME_NOTIFY, IMN_WINE_SET_OPEN_STATUS, FALSE ); return 0; }