From 0b1565c54c9ad7f34f0a26b3eadea66f59606a4f Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Sun, 19 Dec 2021 00:15:20 -0800 Subject: [PATCH] Do not send reset to an already active input context. This may be problematic for certain client, e.g. firefox, and cause input always reset after any key press. Also, sending reset on an activate also does not match the text input v3 semantics. --- src/inputmethod.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp index d1e821ee0c..1c7e055e99 100644 --- a/src/inputmethod.cpp +++ b/src/inputmethod.cpp @@ -140,8 +140,6 @@ void InputMethod::setActive(bool active) if (!wasActive) { waylandServer()->inputMethod()->sendActivate(); - } else { - waylandServer()->inputMethod()->context()->sendReset(); } adoptInputMethodContext(); } else {