mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-18 01:17:57 +00:00
6907881: Different undesired behavior for entering Asian characters in Windows IME starting with Java 6.0
Reviewed-by: okutsu
This commit is contained in:
parent
a44958558e
commit
da8ef7e433
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user