diff options
| author | Alexandre Acebedo <alexandre@acebedo.fr> | 2024-11-17 15:58:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-17 15:58:18 +0000 |
| commit | 0ddbd1c3a40f921816a2c512f871f1e51aca8fe2 (patch) | |
| tree | 40861337c4835c15febb4dcb2daaabe09232212b /src/managers/SessionLockManager.hpp | |
| parent | af83c825138386d269d69b3ef755b844a2eacb22 (diff) | |
renderer: add lockdead_screen_delay (#8467)
Diffstat (limited to 'src/managers/SessionLockManager.hpp')
| -rw-r--r-- | src/managers/SessionLockManager.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/SessionLockManager.hpp b/src/managers/SessionLockManager.hpp index 9b3b882c..59090605 100644 --- a/src/managers/SessionLockManager.hpp +++ b/src/managers/SessionLockManager.hpp @@ -29,6 +29,7 @@ struct SSessionLockSurface { struct SSessionLock { WP<CSessionLock> lock; + CTimer mLockTimer; std::vector<std::unique_ptr<SSessionLockSurface>> vSessionLockSurfaces; std::unordered_map<uint64_t, CTimer> mMonitorsWithoutMappedSurfaceTimers; @@ -61,6 +62,8 @@ class CSessionLockManager { void onLockscreenRenderedOnMonitor(uint64_t id); + bool shallConsiderLockMissing(); + private: UP<SSessionLock> m_pSessionLock; |
