summaryrefslogtreecommitdiff
path: root/src/managers/SessionLockManager.hpp
diff options
context:
space:
mode:
authorJunxuan Liao <70618504+MikeWalrus@users.noreply.github.com>2025-01-25 12:44:13 -0600
committerGitHub <noreply@github.com>2025-01-25 19:44:13 +0100
commit9199a9746d7a9355fd349909cb0f773b513ae912 (patch)
treebe2742c93aa98e9c4d9b3f6a688ae0bd2aec54f0 /src/managers/SessionLockManager.hpp
parentbce58d9d6554f1b69ecf38e19f0921230e37ab6d (diff)
input: pass touch events to lock screens (#9129)
* refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
Diffstat (limited to 'src/managers/SessionLockManager.hpp')
-rw-r--r--src/managers/SessionLockManager.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/managers/SessionLockManager.hpp b/src/managers/SessionLockManager.hpp
index aaf78819..51d4cefb 100644
--- a/src/managers/SessionLockManager.hpp
+++ b/src/managers/SessionLockManager.hpp
@@ -49,20 +49,20 @@ class CSessionLockManager {
CSessionLockManager();
~CSessionLockManager() = default;
- SSessionLockSurface* getSessionLockSurfaceForMonitor(uint64_t);
+ WP<SSessionLockSurface> getSessionLockSurfaceForMonitor(uint64_t);
- float getRedScreenAlphaForMonitor(uint64_t);
+ float getRedScreenAlphaForMonitor(uint64_t);
- bool isSessionLocked();
- bool isSessionLockPresent();
- bool isSurfaceSessionLock(SP<CWLSurfaceResource>);
- bool anySessionLockSurfacesPresent();
+ bool isSessionLocked();
+ bool isSessionLockPresent();
+ bool isSurfaceSessionLock(SP<CWLSurfaceResource>);
+ bool anySessionLockSurfacesPresent();
- void removeSessionLockSurface(SSessionLockSurface*);
+ void removeSessionLockSurface(SSessionLockSurface*);
- void onLockscreenRenderedOnMonitor(uint64_t id);
+ void onLockscreenRenderedOnMonitor(uint64_t id);
- bool shallConsiderLockMissing();
+ bool shallConsiderLockMissing();
private:
UP<SSessionLock> m_pSessionLock;