imm32: Don't erroneously start composition when handling IMC_SETOPENSTATUS.

Fixes: 8ae0c30823
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54965
This commit is contained in:
Jinoh Kang 2023-05-20 23:34:23 +09:00 committed by Alexandre Julliard
parent f4a43a8b2f
commit 839a53797e

View file

@ -657,7 +657,7 @@ BOOL WINAPI NotifyIME( HIMC himc, DWORD action, DWORD index, DWORD value )
if (!ctx->fOpen)
{
input_context_set_comp_str( ctx, NULL, 0 );
if ((msg = ime_set_composition_status( himc, TRUE ))) ime_send_message( himc, msg, 0, 0 );
if ((msg = ime_set_composition_status( himc, FALSE ))) ime_send_message( himc, msg, 0, 0 );
}
NtUserNotifyIMEStatus( ctx->hWnd, ctx->fOpen );
break;