From 78e9eddfb6bfbc6b103fc60c9831b23ef252886b Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Tue, 8 Jul 2025 09:56:40 -0700 Subject: core: use new typed signals from hu (#10853) --- src/protocols/XDGShell.hpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/protocols/XDGShell.hpp') diff --git a/src/protocols/XDGShell.hpp b/src/protocols/XDGShell.hpp index 632467ec..fbb6ba94 100644 --- a/src/protocols/XDGShell.hpp +++ b/src/protocols/XDGShell.hpp @@ -63,9 +63,9 @@ class CXDGPopupResource { CBox m_geometry; struct { - CSignal reposition; - CSignal dismissed; - CSignal destroy; // only the role + CSignalT<> reposition; + CSignalT<> dismissed; + CSignalT<> destroy; // only the role } m_events; // schedules a configure event @@ -111,10 +111,10 @@ class CXDGToplevelResource { void close(); struct { - CSignal sizeLimitsChanged; - CSignal stateChanged; // maximized, fs, minimized, etc. - CSignal metadataChanged; // title, appid - CSignal destroy; // only the role + CSignalT<> sizeLimitsChanged; + CSignalT<> stateChanged; // maximized, fs, minimized, etc. + CSignalT<> metadataChanged; // title, appid + CSignalT<> destroy; // only the role } m_events; struct { @@ -186,12 +186,12 @@ class CXDGSurfaceResource { } m_pending, m_current; struct { - CSignal ack; - CSignal commit; - CSignal map; - CSignal unmap; - CSignal destroy; - CSignal newPopup; // SP + CSignalT ack; + CSignalT<> commit; + CSignalT<> map; + CSignalT<> unmap; + CSignalT<> destroy; + CSignalT> newPopup; } m_events; bool m_initialCommit = true; @@ -252,7 +252,7 @@ class CXDGWMBase { WP m_self; struct { - CSignal pong; + CSignalT<> pong; } m_events; private: -- cgit v1.2.3