mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 01:31:54 -07:00
renderer: add lockdead_screen_delay (#8467)
This commit is contained in:
committed by
GitHub
parent
af83c82513
commit
0ddbd1c3a4
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user