summaryrefslogtreecommitdiff
path: root/src/protocols/InputMethodV2.hpp
diff options
context:
space:
mode:
authoroutfoxxed <outfoxxed@outfoxxed.me>2025-07-08 09:56:40 -0700
committerGitHub <noreply@github.com>2025-07-08 18:56:40 +0200
commit78e9eddfb6bfbc6b103fc60c9831b23ef252886b (patch)
tree4daf06580d89dec717a282c4ec8729285241c8e8 /src/protocols/InputMethodV2.hpp
parent2f34ef141b0728857d2a6f777c608dfe4c207733 (diff)
core: use new typed signals from hu (#10853)
Diffstat (limited to 'src/protocols/InputMethodV2.hpp')
-rw-r--r--src/protocols/InputMethodV2.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/protocols/InputMethodV2.hpp b/src/protocols/InputMethodV2.hpp
index 74efcbb3..4ee579ec 100644
--- a/src/protocols/InputMethodV2.hpp
+++ b/src/protocols/InputMethodV2.hpp
@@ -18,9 +18,9 @@ class CInputMethodV2 {
~CInputMethodV2();
struct {
- CSignal onCommit;
- CSignal destroy;
- CSignal newPopup;
+ CSignalT<> onCommit;
+ CSignalT<> destroy;
+ CSignalT<SP<CInputMethodPopupV2>> newPopup;
} m_events;
struct SState {
@@ -110,10 +110,10 @@ class CInputMethodPopupV2 {
SP<CWLSurfaceResource> surface();
struct {
- CSignal map;
- CSignal unmap;
- CSignal commit;
- CSignal destroy;
+ CSignalT<> map;
+ CSignalT<> unmap;
+ CSignalT<> commit;
+ CSignalT<> destroy;
} m_events;
bool m_mapped = false;
@@ -136,7 +136,7 @@ class CInputMethodV2Protocol : public IWaylandProtocol {
virtual void bindManager(wl_client* client, void* data, uint32_t ver, uint32_t id);
struct {
- CSignal newIME; // SP<CInputMethodV2>
+ CSignalT<SP<CInputMethodV2>> newIME;
} m_events;
private:
@@ -160,4 +160,4 @@ class CInputMethodV2Protocol : public IWaylandProtocol {
namespace PROTO {
inline UP<CInputMethodV2Protocol> ime;
-}; \ No newline at end of file
+};