OpenJDK / valhalla / valhalla10-old / jdk
changeset 17781:72c480992841
8184016: Text in native popup is not always updated with Sogou IME
Reviewed-by: ssadetsky
author | psadhukhan |
---|---|
date | Thu, 13 Jul 2017 12:14:59 +0530 |
parents | 2e4cdfc780cd |
children | 62976d44cbc7 |
files | src/java.desktop/windows/native/libawt/windows/awt_Component.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp Mon Jul 10 14:41:54 2017 -0700 +++ b/src/java.desktop/windows/native/libawt/windows/awt_Component.cpp Thu Jul 13 12:14:59 2017 +0530 @@ -3871,12 +3871,14 @@ { if (!m_useNativeCompWindow) { if (subMsg == IMN_OPENCANDIDATE) { - m_bitsCandType = subMsg; + m_bitsCandType = bitsCandType; InquireCandidatePosition(); } else if (subMsg == IMN_OPENSTATUSWINDOW || subMsg == WM_IME_STARTCOMPOSITION) { m_bitsCandType = 0; InquireCandidatePosition(); + } else if (subMsg == IMN_SETCANDIDATEPOS) { + InquireCandidatePosition(); } return mrConsume; }