mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user