summaryrefslogtreecommitdiff
path: root/src/protocols/SessionLock.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/SessionLock.hpp
parent2f34ef141b0728857d2a6f777c608dfe4c207733 (diff)
core: use new typed signals from hu (#10853)
Diffstat (limited to 'src/protocols/SessionLock.hpp')
-rw-r--r--src/protocols/SessionLock.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/protocols/SessionLock.hpp b/src/protocols/SessionLock.hpp
index 8f0e0af6..09b48b32 100644
--- a/src/protocols/SessionLock.hpp
+++ b/src/protocols/SessionLock.hpp
@@ -21,9 +21,9 @@ class CSessionLockSurface {
SP<CWLSurfaceResource> surface();
struct {
- CSignal map;
- CSignal destroy;
- CSignal commit;
+ CSignalT<> map;
+ CSignalT<> destroy;
+ CSignalT<> commit;
} m_events;
private:
@@ -54,9 +54,9 @@ class CSessionLock {
void sendDenied();
struct {
- CSignal newLockSurface; // SP<CSessionLockSurface>
- CSignal unlockAndDestroy;
- CSignal destroyed; // fires regardless of whether there was a unlockAndDestroy or not.
+ CSignalT<SP<CSessionLockSurface>> newLockSurface;
+ CSignalT<> unlockAndDestroy;
+ CSignalT<> destroyed; // fires regardless of whether there was a unlockAndDestroy or not.
} m_events;
private:
@@ -76,7 +76,7 @@ class CSessionLockProtocol : public IWaylandProtocol {
bool isLocked();
struct {
- CSignal newLock; // SP<CSessionLock>
+ CSignalT<SP<CSessionLock>> newLock;
} m_events;
private: