diff options
| author | joshua <54235339+sujoshua@users.noreply.github.com> | 2024-03-19 23:54:33 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-19 15:54:33 +0000 |
| commit | 5c1097cbc19131a7770b2a3f01f6f24e626991d2 (patch) | |
| tree | e9d27ddf894b088dd26f66dcd7280fdce46730e6 /src/helpers | |
| parent | 05c84304ccb1169b550504830139e07e28500a3b (diff) | |
IME: Improve handling of text-input and ime-relay (#5147)
* input: Handling multiple surfaces for the text-input-v1 protocol implementation and imporve InputMethodRelay logic
fixes #2708
* clang-format
* minor style nits
---------
Co-authored-by: Vaxry <vaxry@vaxry.net>
Diffstat (limited to 'src/helpers')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index d48fdff7..57f216b8 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -291,17 +291,14 @@ struct SSwipeGesture { struct STextInputV1; struct STextInput { - wlr_text_input_v3* pWlrInput = nullptr; - STextInputV1* pV1Input = nullptr; - - wlr_surface* pPendingSurface = nullptr; + wlr_text_input_v3* pWlrInput = nullptr; + STextInputV1* pV1Input = nullptr; + wlr_surface* focusedSurface = nullptr; DYNLISTENER(textInputEnable); DYNLISTENER(textInputDisable); DYNLISTENER(textInputCommit); DYNLISTENER(textInputDestroy); - - DYNLISTENER(pendingSurfaceDestroy); }; struct SIMEKbGrab { |
