Commit 968a1e9b authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

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

parent b17ded0a
...@@ -2351,6 +2351,8 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen) ...@@ -2351,6 +2351,8 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
0, data->immKbd->hIME, 0); 0, data->immKbd->hIME, 0);
SetWindowLongPtrW(data->immKbd->UIWnd, IMMGWL_IMC, (LONG_PTR)data); 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) if (!fOpen != !data->IMC.fOpen)
{ {
......
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