diff --git a/imgui.cpp b/imgui.cpp index e8e2290..d18e1ac 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -13826,6 +13826,7 @@ cf.ptCurrentPos.y = y; cf.dwStyle = CFS_FORCE_POSITION; ::ImmSetCompositionWindow(himc, &cf); + ::ImmReleaseContext(hwnd, himc); } }