Skip to content

Commit

Permalink
Fix missing ImmReleaseContext in default Win32 IME handler (#1932)
Browse files Browse the repository at this point in the history
  • Loading branch information
vby authored and ocornut committed Jul 8, 2018
1 parent b0cdfe0 commit 3a42eb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 3a42eb6

Please sign in to comment.