imm32: Switch the value of IMMGWL_IMC in the UI window when a new imc opens.

This commit is contained in:
Aric Stewart 2012-10-15 11:01:30 -05:00 committed by Alexandre Julliard
parent b17ded0ac1
commit 968a1e9b72
1 changed files with 2 additions and 0 deletions

View File

@ -2351,6 +2351,8 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
0, data->immKbd->hIME, 0);
SetWindowLongPtrW(data->immKbd->UIWnd, IMMGWL_IMC, (LONG_PTR)data);
}
else if (fOpen)
SetWindowLongPtrW(data->immKbd->UIWnd, IMMGWL_IMC, (LONG_PTR)data);
if (!fOpen != !data->IMC.fOpen)
{