summaryrefslogtreecommitdiff
path: root/src/protocols/TextInputV1.cpp
diff options
context:
space:
mode:
authorSungyoon Cho <sungyoon@sungyooncho.dev>2024-09-10 22:49:10 +0900
committerGitHub <noreply@github.com>2024-09-10 14:49:10 +0100
commit155d44016d0cb11332c454db73d59030cdbd7b13 (patch)
tree2227b41f972fea70108bf64046c2e012f637d848 /src/protocols/TextInputV1.cpp
parent13f90bb87a697866f1bbbacd1473d04f33ec2aa7 (diff)
textinput: handle IME resetting (#7731)
Diffstat (limited to 'src/protocols/TextInputV1.cpp')
-rw-r--r--src/protocols/TextInputV1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols/TextInputV1.cpp b/src/protocols/TextInputV1.cpp
index f25f5aca..dad74b53 100644
--- a/src/protocols/TextInputV1.cpp
+++ b/src/protocols/TextInputV1.cpp
@@ -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(