winemac.drv: Send state change notifications from ImeSelect.
Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f6b533700a
commit
bb501445f1
|
@ -630,6 +630,10 @@ BOOL WINAPI ImeSelect(HIMC hIMC, BOOL fSelect)
|
||||||
{
|
{
|
||||||
LPIMEPRIVATE myPrivate;
|
LPIMEPRIVATE myPrivate;
|
||||||
myPrivate = ImmLockIMCC(lpIMC->hPrivate);
|
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->bInComposition = FALSE;
|
||||||
myPrivate->bInternalState = FALSE;
|
myPrivate->bInternalState = FALSE;
|
||||||
myPrivate->textfont = NULL;
|
myPrivate->textfont = NULL;
|
||||||
|
|
Loading…
Reference in New Issue