http://bugs.winehq.org/show_bug.cgi?id=12466
--- Comment #5 from Aric Stewart aric@codeweavers.com 2008-04-10 13:30:15 --- Can you try this patch and tell me if it solves anything?
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c index 000052c..379b747 100644 --- a/dlls/imm32/imm.c +++ b/dlls/imm32/imm.c @@ -383,6 +384,13 @@ HIMC WINAPI ImmAssociateContext(HWND hWnd, HIMC hIMC) else SetPropW(hWnd,szwWineIMCProperty,(HANDLE)hIMC); } + + if (old) + { + InputContextData *old_data = (InputContextData*)old; + if (old_data->IMC.hWnd == hWnd) + old_data->IMC.hWnd = NULL; + } }
if (!hIMC)