# HG changeset patch # User zhouyx # Date 1337747851 -28800 # Node ID 446a7548357b64ff80a6a965cc72010ed72dea8d # Parent 2ed3ec2efd5d37886f7ea06789a6658acd9f7afe 7170996: IME composition window does not disappear when file dialog is closed : Japanese WinXP Reviewed-by: art, bagiras diff -r 2ed3ec2efd5d -r 446a7548357b src/windows/native/sun/windows/awt_Component.cpp --- a/src/windows/native/sun/windows/awt_Component.cpp Mon Jul 30 19:46:33 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);