On Windows, reduce spaces between caret and IME window. (flutter/engine#32567)

This commit is contained in:
moko256
2022-04-15 04:39:54 +09:00
committed by GitHub
parent 1c35cc7dc2
commit 3716ca5423

View File

@@ -179,7 +179,7 @@ void TextInputManagerWin32::MoveImeWindow(HIMC imm_context) {
COMPOSITIONFORM cf = {CFS_POINT, {x, y}};
::ImmSetCompositionWindow(imm_context, &cf);
CANDIDATEFORM candidate_form = {0, CFS_CANDIDATEPOS, {x, y}, {0, 0, 0, 0}};
CANDIDATEFORM candidate_form = {0, CFS_EXCLUDE, {x, y}, {0, 0, 0, 0}};
::ImmSetCandidateWindow(imm_context, &candidate_form);
}