changeset 5432:cac4daf60283

7170996: IME composition window does not disappear when file dialog is closed : Japanese WinXP Reviewed-by: art, bagiras
author zhouyx
date Wed, 23 May 2012 12:37:31 +0800
parents 5ff4693406ad
children bb3ada9822e4
files src/windows/native/sun/windows/awt_Component.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/windows/awt_Component.cpp	Tue May 22 12:35:55 2012 +0400
+++ b/src/windows/native/sun/windows/awt_Component.cpp	Wed May 23 12:37:31 2012 +0800
@@ -558,6 +558,8 @@
 
     m_hwnd = hwnd;
 
+    ::ImmAssociateContext(m_hwnd, NULL);
+
     SetDrawState((jint)JAWT_LOCK_SURFACE_CHANGED |
         (jint)JAWT_LOCK_BOUNDS_CHANGED |
         (jint)JAWT_LOCK_CLIP_CHANGED);