diff --git a/imgui.cpp b/imgui.cpp index e8e2290e91cb..d18e1ac26ac5 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -13826,6 +13826,7 @@ static void ImeSetInputScreenPosFn_DefaultImpl(int x, int y) cf.ptCurrentPos.y = y; cf.dwStyle = CFS_FORCE_POSITION; ::ImmSetCompositionWindow(himc, &cf); + ::ImmReleaseContext(hwnd, himc); } }