diff options
| author | Sungyoon Cho <sungyoon@sungyooncho.dev> | 2024-09-10 22:49:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-10 14:49:10 +0100 |
| commit | 155d44016d0cb11332c454db73d59030cdbd7b13 (patch) | |
| tree | 2227b41f972fea70108bf64046c2e012f637d848 /src/managers/input/InputMethodRelay.hpp | |
| parent | 13f90bb87a697866f1bbbacd1473d04f33ec2aa7 (diff) | |
textinput: handle IME resetting (#7731)
Diffstat (limited to 'src/managers/input/InputMethodRelay.hpp')
| -rw-r--r-- | src/managers/input/InputMethodRelay.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/input/InputMethodRelay.hpp b/src/managers/input/InputMethodRelay.hpp index 5ecc11a2..3d706563 100644 --- a/src/managers/input/InputMethodRelay.hpp +++ b/src/managers/input/InputMethodRelay.hpp @@ -21,8 +21,8 @@ class CInputMethodRelay { void onNewTextInput(WP<CTextInputV3> tiv3); void onNewTextInput(WP<CTextInputV1> pTIV1); - void activateIME(CTextInput* pInput); - void deactivateIME(CTextInput* pInput); + void activateIME(CTextInput* pInput, bool shouldCommit = true); + void deactivateIME(CTextInput* pInput, bool shouldCommit = true); void commitIMEState(CTextInput* pInput); void removeTextInput(CTextInput* pInput); |
