[Bug 12466] Chinese input method not working in DirectX game World of Warcraft with wine 0 .9.59
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Apr 10 13:30:16 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=12466
--- Comment #5 from Aric Stewart <aric at 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)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list