7170996: IME composition window does not disappear when file dialog is closed : Japanese WinXP

Reviewed-by: art, bagiras
This commit is contained in:
Sean Chou 2012-05-23 12:37:31 +08:00
parent e054554a36
commit 12556eaf75

View File

@ -558,6 +558,8 @@ AwtComponent::CreateHWnd(JNIEnv *env, LPCWSTR title,
m_hwnd = hwnd;
::ImmAssociateContext(m_hwnd, NULL);
SetDrawState((jint)JAWT_LOCK_SURFACE_CHANGED |
(jint)JAWT_LOCK_BOUNDS_CHANGED |
(jint)JAWT_LOCK_CLIP_CHANGED);