Bug 979148 - Use NOTIFY_IME_OF_POSITION_CHANGE for IMM32. r=masyuki

This commit is contained in:
Makoto Kato
2014-03-06 15:13:50 +09:00
parent e435d98f2b
commit ead933c74a
3 changed files with 12 additions and 2 deletions

View File

@@ -138,6 +138,13 @@ nsIMM32Handler::GetKeyboardCodePage()
return sCodePage;
}
/* static */
nsIMEUpdatePreference
nsIMM32Handler::GetIMEUpdatePreference()
{
return nsIMEUpdatePreference(nsIMEUpdatePreference::NOTIFY_POSITION_CHANGE);
}
// used for checking the lParam of WM_IME_COMPOSITION
#define IS_COMPOSING_LPARAM(lParam) \
((lParam) & (GCS_COMPSTR | GCS_COMPATTR | GCS_COMPCLAUSE | GCS_CURSORPOS))