feat: sync IME status to UI on thread focus and punctuation switch

This commit is contained in:
fanlumaster committed 2026-01-16 22:47:57 +08:00
1 parent d299f53286
commit 55dae98069
7 files changed
+74

No files matched your search

+3
View File
@@ -13,6 +13,8 @@
STDAPI CMetasequoiaIME::OnSetThreadFocus()
{
OutputDebugString(fmt::format(L"CMetasequoiaIME::OnSetThreadFocus").c_str());
PostMessage(_msgWndHandle, WM_ThreadFocus, 0, 0);
if (_pCandidateListUIPresenter)
{
ITfDocumentMgr *pCandidateListDocumentMgr = nullptr;
@@ -39,6 +41,7 @@ STDAPI CMetasequoiaIME::OnSetThreadFocus()
STDAPI CMetasequoiaIME::OnKillThreadFocus()
{
OutputDebugString(fmt::format(L"CMetasequoiaIME::OnKillThreadFocus").c_str());
if (_pCandidateListUIPresenter)
{
ITfDocumentMgr *pCandidateListDocumentMgr = nullptr;