mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WIN32K] Conditionally enable IMM32
MFC42 applications only expect an IME window when on a DBCS system, so they will capture this IME window as their 'main' window on non-DBCS systems. CORE-18212
This commit is contained in:
parent
63f042a5cd
commit
81e0f74a7a
1 changed files with 10 additions and 1 deletions
|
@ -124,7 +124,16 @@ NtUserCallNoParam(DWORD Routine)
|
|||
break;
|
||||
|
||||
case NOPARAM_ROUTINE_UPDATEPERUSERIMMENABLING:
|
||||
gpsi->dwSRVIFlags |= SRVINFO_IMM32; // Always set.
|
||||
// TODO: This should also check the registry!
|
||||
// see https://www.pctipsbox.com/fix-available-for-ie7-memory-leaks-on-xp-sp3/ for more information
|
||||
if (NLS_MB_CODE_PAGE_TAG)
|
||||
{
|
||||
gpsi->dwSRVIFlags |= SRVINFO_IMM32;
|
||||
}
|
||||
else
|
||||
{
|
||||
gpsi->dwSRVIFlags &= ~SRVINFO_IMM32;
|
||||
}
|
||||
Result = TRUE; // Always return TRUE.
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue