8184016: Text in native popup is not always updated with Sogou IME

Reviewed-by: ssadetsky
This commit is contained in:
Prasanta Sadhukhan 2017-07-13 12:14:59 +05:30
parent 0282e28829
commit edc1bc6834

@ -3871,12 +3871,14 @@ MsgRouting AwtComponent::WmImeNotify(WPARAM subMsg, LPARAM bitsCandType)
{
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;
}