renderer: add lockdead_screen_delay (#8467)

This commit is contained in:
Alexandre Acebedo
2024-11-17 15:58:18 +00:00
committed by GitHub
parent af83c82513
commit 0ddbd1c3a4
5 changed files with 25 additions and 4 deletions

View File

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