Commit bb501445 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

winemac.drv: Send state change notifications from ImeSelect.

parent f6b53370
......@@ -630,6 +630,10 @@ BOOL WINAPI ImeSelect(HIMC hIMC, BOOL fSelect)
{
LPIMEPRIVATE myPrivate;
myPrivate = ImmLockIMCC(lpIMC->hPrivate);
if (myPrivate->bInComposition)
GenerateIMEMessage(hIMC, WM_IME_ENDCOMPOSITION, 0, 0);
if (myPrivate->bInternalState)
ImmSetOpenStatus(RealIMC(FROM_MACDRV), FALSE);
myPrivate->bInComposition = FALSE;
myPrivate->bInternalState = FALSE;
myPrivate->textfont = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment