Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 27ee1ef

Browse files
authored
On Windows, reduce spaces between caret and IME window. (#32567)
1 parent 156e809 commit 27ee1ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/windows/text_input_manager_win32.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void TextInputManagerWin32::MoveImeWindow(HIMC imm_context) {
179179
COMPOSITIONFORM cf = {CFS_POINT, {x, y}};
180180
::ImmSetCompositionWindow(imm_context, &cf);
181181

182-
CANDIDATEFORM candidate_form = {0, CFS_CANDIDATEPOS, {x, y}, {0, 0, 0, 0}};
182+
CANDIDATEFORM candidate_form = {0, CFS_EXCLUDE, {x, y}, {0, 0, 0, 0}};
183183
::ImmSetCandidateWindow(imm_context, &candidate_form);
184184
}
185185

0 commit comments

Comments
 (0)