summaryrefslogtreecommitdiff
path: root/src/managers/input/InputMethodRelay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/input/InputMethodRelay.hpp')
-rw-r--r--src/managers/input/InputMethodRelay.hpp8
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);