diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-25 23:27:25 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-25 23:27:44 +0100 |
| commit | 1d40af64d352bd5a87c7d53a52707fc5cfc6940e (patch) | |
| tree | 7ad6d1f0dbe3f4d972faf487ffa0cbc9420ee82d /src/managers/input/InputMethodRelay.hpp | |
| parent | e87227e00ae350adebafd2adde95a47e1f68cb3a (diff) | |
text-input-v3: move to new impl
Diffstat (limited to 'src/managers/input/InputMethodRelay.hpp')
| -rw-r--r-- | src/managers/input/InputMethodRelay.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/managers/input/InputMethodRelay.hpp b/src/managers/input/InputMethodRelay.hpp index 01d36675..1b2cb07a 100644 --- a/src/managers/input/InputMethodRelay.hpp +++ b/src/managers/input/InputMethodRelay.hpp @@ -3,8 +3,10 @@ #include <list> #include "../../defines.hpp" #include "../../helpers/WLClasses.hpp" +#include "../../helpers/signal/Listener.hpp" #include "TextInput.hpp" #include "InputMethodPopup.hpp" +#include <any> class CInputManager; class CHyprRenderer; @@ -15,7 +17,7 @@ class CInputMethodRelay { CInputMethodRelay(); void onNewIME(wlr_input_method_v2*); - void onNewTextInput(wlr_text_input_v3*); + void onNewTextInput(std::any tiv3); void onNewTextInput(STextInputV1* pTIV1); wlr_input_method_v2* m_pWLRIME = nullptr; @@ -47,6 +49,10 @@ class CInputMethodRelay { wlr_surface* m_pLastKbFocus = nullptr; + struct { + CHyprSignalListener newTIV3; + } listeners; + DYNLISTENER(textInputNew); DYNLISTENER(IMECommit); DYNLISTENER(IMEDestroy); |
