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.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/managers/input/InputMethodRelay.hpp b/src/managers/input/InputMethodRelay.hpp
index e13a1f1c..5ecc11a2 100644
--- a/src/managers/input/InputMethodRelay.hpp
+++ b/src/managers/input/InputMethodRelay.hpp
@@ -10,7 +10,7 @@
class CInputManager;
class CHyprRenderer;
-struct STextInputV1;
+class CTextInputV1;
class CInputMethodV2;
class CInputMethodRelay {
@@ -18,8 +18,8 @@ class CInputMethodRelay {
CInputMethodRelay();
void onNewIME(SP<CInputMethodV2>);
- void onNewTextInput(std::any tiv3);
- void onNewTextInput(STextInputV1* pTIV1);
+ void onNewTextInput(WP<CTextInputV3> tiv3);
+ void onNewTextInput(WP<CTextInputV1> pTIV1);
void activateIME(CTextInput* pInput);
void deactivateIME(CTextInput* pInput);
@@ -48,6 +48,7 @@ class CInputMethodRelay {
struct {
CHyprSignalListener newTIV3;
+ CHyprSignalListener newTIV1;
CHyprSignalListener newIME;
CHyprSignalListener commitIME;
CHyprSignalListener destroyIME;