mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-22 20:53:14 +02:00
Fix missing ImmReleaseContext in default Win32 IME handler (#1932)
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user