summaryrefslogtreecommitdiff
path: root/src/managers/input/InputMethodRelay.hpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-07-29 11:14:19 -0500
committerGitHub <noreply@github.com>2024-07-29 18:14:19 +0200
commit60b663e2765c4cdb7e14fff75c4f88bf7ae312e2 (patch)
treedb6ee9dac9da1e2a1b584927543c542e31c62f80 /src/managers/input/InputMethodRelay.hpp
parent01560c9d7ccd0beec1a9c190862ee325e6f3c45e (diff)
protocols: move text-input-v1 to hyprwayland-scanner (#7096)
* move text-input-v1 to hyprwayland-scanner * vro
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;