textinput: handle IME resetting (#7731)

This commit is contained in:
Sungyoon Cho
2024-09-10 22:49:10 +09:00
committed by GitHub
parent 13f90bb87a
commit 155d44016d
8 changed files with 49 additions and 19 deletions

View File

@@ -31,6 +31,7 @@ CTextInputV1::CTextInputV1(SP<CZwpTextInputV1> resource_) : resource(resource_)
resource->setReset([this](CZwpTextInputV1* pMgr) {
pendingSurrounding.isPending = false;
pendingContentType.isPending = false;
events.reset.emit();
});
resource->setSetSurroundingText(