diff options
| author | Ikalco <73481042+ikalco@users.noreply.github.com> | 2024-07-29 11:14:19 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 18:14:19 +0200 |
| commit | 60b663e2765c4cdb7e14fff75c4f88bf7ae312e2 (patch) | |
| tree | db6ee9dac9da1e2a1b584927543c542e31c62f80 /src/managers/input/TextInput.hpp | |
| parent | 01560c9d7ccd0beec1a9c190862ee325e6f3c45e (diff) | |
protocols: move text-input-v1 to hyprwayland-scanner (#7096)
* move text-input-v1 to hyprwayland-scanner
* vro
Diffstat (limited to 'src/managers/input/TextInput.hpp')
| -rw-r--r-- | src/managers/input/TextInput.hpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/managers/input/TextInput.hpp b/src/managers/input/TextInput.hpp index 79e08af9..0f69866e 100644 --- a/src/managers/input/TextInput.hpp +++ b/src/managers/input/TextInput.hpp @@ -8,7 +8,7 @@ struct wl_client; -struct STextInputV1; +class CTextInputV1; class CTextInputV3; class CInputMethodV2; class CWLSurfaceResource; @@ -16,8 +16,7 @@ class CWLSurfaceResource; class CTextInput { public: CTextInput(WP<CTextInputV3> ti); - CTextInput(STextInputV1* ti); - ~CTextInput(); + CTextInput(WP<CTextInputV1> ti); bool isV3(); void enter(SP<CWLSurfaceResource> pSurface); @@ -43,12 +42,7 @@ class CTextInput { WP<CWLSurfaceResource> pFocusedSurface; int enterLocks = 0; WP<CTextInputV3> pV3Input; - STextInputV1* pV1Input = nullptr; - - DYNLISTENER(textInputEnable); - DYNLISTENER(textInputDisable); - DYNLISTENER(textInputCommit); - DYNLISTENER(textInputDestroy); + WP<CTextInputV1> pV1Input; struct { CHyprSignalListener enable; @@ -58,4 +52,4 @@ class CTextInput { CHyprSignalListener surfaceUnmap; CHyprSignalListener surfaceDestroy; } listeners; -};
\ No newline at end of file +}; |
