mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NTUSER] IntImmActivateLayout: Set CI_IMMACTIVATE if not pImeWnd (#5231)
In IntImmActivateLayout function, if pImeWnd was NULL and pti->spDefaultImc was non-NULL, then set CI_IMMACTIVATE flag. CORE-11700
This commit is contained in:
parent
66c8ded454
commit
5ff0ef403e
1 changed files with 5 additions and 0 deletions
|
@ -650,6 +650,11 @@ IntImmActivateLayout(
|
|||
co_IntSendMessage(hImeWnd, WM_IME_SYSTEM, IMS_ACTIVATELAYOUT, (LPARAM)pKL->hkl);
|
||||
UserDerefObjectCo(pImeWnd);
|
||||
}
|
||||
else if (pti->spDefaultImc)
|
||||
{
|
||||
/* IME Activation is needed */
|
||||
pti->pClientInfo->CI_flags |= CI_IMMACTIVATE;
|
||||
}
|
||||
|
||||
UserAssignmentLock((PVOID*)&(pti->KeyboardLayout), pKL);
|
||||
pti->pClientInfo->hKL = pKL->hkl;
|
||||
|
|
Loading…
Reference in a new issue