ImmIsUIMessageA/W
Aric Stewart
aric at codeweavers.com
Tue Oct 2 14:23:41 CDT 2012
I have a proposed patch that I have tested with World of Tanks and it does not cause
http://bugs.winehq.org/show_bug.cgi?id=27554 to reappear for me on either mac or Linux.
Would you be able to test it and confirm that I am not reintroduction the issues?
thanks!
-aric
On 9/25/12 2:54 PM, Henri Verbeet wrote:
> On 25 September 2012 21:12, André Hentschel <nerv at dawncrow.de> wrote:
>> I don't remember the app, be free to patch it in again, at best with tests.
>>
> Wasn't that for World of Tanks?
>
-------------- next part --------------
commit e0b590c50292c367e1c8bffb6f7b2775539e82a1
Author: Aric Stewart <aric at codeweavers.com>
Date: Tue Oct 2 14:20:35 2012 -0500
imm32: in ImmIsUIMessage redirect message to default hwnd if no hwnd is specified
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 64933c2..0df4b05 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -1924,6 +1924,9 @@ BOOL WINAPI ImmIsUIMessageA(
(msg == WM_MSIME_QUERYPOSITION) ||
(msg == WM_MSIME_DOCUMENTFEED))
{
+ if (!hWndIME)
+ hWndIME = ImmGetDefaultIMEWnd(NULL);
+
if (hWndIME)
SendMessageA(hWndIME, msg, wParam, lParam);
@@ -1954,6 +1957,9 @@ BOOL WINAPI ImmIsUIMessageW(
(msg == WM_MSIME_QUERYPOSITION) ||
(msg == WM_MSIME_DOCUMENTFEED))
{
+ if (!hWndIME)
+ hWndIME = ImmGetDefaultIMEWnd(NULL);
+
if (hWndIME)
SendMessageW(hWndIME, msg, wParam, lParam);
More information about the wine-devel
mailing list