mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-26 13:37:00 +00:00
Fix missing ImmReleaseContext in default Win32 IME handler (#1932)
This commit is contained in:
parent
b0cdfe0ece
commit
3a42eb6620
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user