Aric Stewart : imm32: Switch the value of IMMGWL_IMC in the UI window when a new imc opens.
Alexandre Julliard
julliard at winehq.org
Mon Oct 15 14:29:07 CDT 2012
Module: wine
Branch: master
Commit: 968a1e9b72866dd8663de34303b3ca1040007989
URL: http://source.winehq.org/git/wine.git/?a=commit;h=968a1e9b72866dd8663de34303b3ca1040007989
Author: Aric Stewart <aric at codeweavers.com>
Date: Mon Oct 15 11:01:30 2012 -0500
imm32: Switch the value of IMMGWL_IMC in the UI window when a new imc opens.
---
dlls/imm32/imm.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index edd9e71..6bca604 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -2351,6 +2351,8 @@ BOOL WINAPI ImmSetOpenStatus(HIMC hIMC, BOOL fOpen)
0, data->immKbd->hIME, 0);
SetWindowLongPtrW(data->immKbd->UIWnd, IMMGWL_IMC, (LONG_PTR)data);
}
+ else if (fOpen)
+ SetWindowLongPtrW(data->immKbd->UIWnd, IMMGWL_IMC, (LONG_PTR)data);
if (!fOpen != !data->IMC.fOpen)
{
More information about the wine-cvs
mailing list