Skip to content

Commit efb1263

Browse files
committed
fix: Windows에서 동기적 IME Composition 수행 #6
1 parent f9ecabc commit efb1263

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

indra/llwindow/llwindowwin32.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,7 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_
25862586
LL_PROFILE_ZONE_NAMED_CATEGORY_WIN32("mwp - WM_IME_COMPOSITION");
25872587
if (LLWinImm::isAvailable() && window_imp->mPreeditor)
25882588
{
2589-
WINDOW_IMP_POST(window_imp->handleCompositionMessage((U32)l_param));
2589+
window_imp->handleCompositionMessage((U32)l_param);
25902590
return 0;
25912591
}
25922592
break;
@@ -4328,10 +4328,7 @@ void LLWindowWin32::handleCompositionMessage(const U32 indexes)
43284328

43294329
if (needs_update)
43304330
{
4331-
if (preedit_string.length() != 0 || result_string.length() != 0)
4332-
{
4333-
mPreeditor->resetPreedit();
4334-
}
4331+
mPreeditor->resetPreedit();
43354332

43364333
if (result_string.length() > 0)
43374334
{

0 commit comments

Comments
 (0)