mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1243268 - Adjust ATOK workaround. r=masayuki
This commit is contained in:
parent
ba11a89326
commit
f506ded619
@ -2756,7 +2756,7 @@ IMMHandler::SetCandidateWindow(nsWindow* aWindow, CANDIDATEFORM* aForm)
|
||||
{
|
||||
// Hack for ATOK. ATOK (Japanese IME) refers native caret position at
|
||||
// deciding candidate window position.
|
||||
if (aForm->dwStyle == CFS_CANDIDATEPOS && aWindow->PluginHasFocus()) {
|
||||
if (aWindow->PluginHasFocus()) {
|
||||
// We cannot retrieve proper character height from plugin. Therefore,
|
||||
// we should assume that the caret height is always 20px since if less than
|
||||
// this height, candidate window may overlap with composition string when
|
||||
|
Loading…
Reference in New Issue
Block a user