mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Platform IME: Windows: Revert 133bbafa and 29a8ee08 as regression until new results comes. (#2589, #5535, #5264, #4972)
This commit is contained in:
parent
839c31006b
commit
a396233cb6
2 changed files with 2 additions and 2 deletions
|
|
@ -12231,9 +12231,9 @@ static void SetPlatformImeDataFn_DefaultImpl(ImGuiViewport* viewport, ImGuiPlatf
|
|||
if (hwnd == 0)
|
||||
return;
|
||||
|
||||
//::ImmAssociateContextEx(hwnd, NULL, data->WantVisible ? IACE_DEFAULT : 0);
|
||||
if (HIMC himc = ::ImmGetContext(hwnd))
|
||||
{
|
||||
::ImmAssociateContextEx(hwnd, NULL, data->WantVisible ? IACE_DEFAULT : 0);
|
||||
COMPOSITIONFORM composition_form = {};
|
||||
composition_form.ptCurrentPos.x = (LONG)data->InputPos.x;
|
||||
composition_form.ptCurrentPos.y = (LONG)data->InputPos.y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue