Fix missing ImmReleaseContext in default Win32 IME handler (#1932)

This commit is contained in:
vby 2018-07-08 21:24:12 +08:00 committed by omar
parent b0cdfe0ece
commit 3a42eb6620

View File

@ -13826,6 +13826,7 @@ static void ImeSetInputScreenPosFn_DefaultImpl(int x, int y)
cf.ptCurrentPos.y = y; cf.ptCurrentPos.y = y;
cf.dwStyle = CFS_FORCE_POSITION; cf.dwStyle = CFS_FORCE_POSITION;
::ImmSetCompositionWindow(himc, &cf); ::ImmSetCompositionWindow(himc, &cf);
::ImmReleaseContext(hwnd, himc);
} }
} }