mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 18:37:17 +00:00
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:
parent
f4a43a8b2f
commit
839a53797e
|
@ -657,7 +657,7 @@ BOOL WINAPI NotifyIME( HIMC himc, DWORD action, DWORD index, DWORD value )
|
||||||
if (!ctx->fOpen)
|
if (!ctx->fOpen)
|
||||||
{
|
{
|
||||||
input_context_set_comp_str( ctx, NULL, 0 );
|
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 );
|
NtUserNotifyIMEStatus( ctx->hWnd, ctx->fOpen );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue