提交 cc238440 编写于 作者: P peytoia

6907881: Different undesired behavior for entering Asian characters in Windows...

6907881: Different undesired behavior for entering Asian characters in Windows IME starting with Java 6.0
Reviewed-by: okutsu
上级 a3b7f32a
/*
* Copyright 1996-2009 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1996-2010 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -3707,8 +3707,7 @@ void AwtComponent::SetCompositionWindow(RECT& r)
if (hIMC == NULL) {
return;
}
COMPOSITIONFORM cf = {CFS_POINT, {0, r.bottom}, NULL};
// Place the composition window right below the client Window
COMPOSITIONFORM cf = {CFS_DEFAULT, {0, 0}, {0, 0, 0, 0}};
ImmSetCompositionWindow(hIMC, &cf);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册