core: use new typed signals from hu (#10853)

This commit is contained in:
outfoxxed 2025-07-08 09:56:40 -07:00 committed by GitHub
parent 2f34ef141b
commit 78e9eddfb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
85 changed files with 667 additions and 865 deletions

View file

@ -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: