feat: sync IME status to UI on thread focus and punctuation switch
This commit is contained in:
1 parent
d299f53286
commit
55dae98069
7 files changed
+74
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user