managers: refactor class member vars (#10242)
This commit is contained in:
parent
6f174a9e08
commit
ce821294e2
54 changed files with 930 additions and 932 deletions
|
|
@ -40,8 +40,8 @@ struct SSessionLock {
|
|||
CHyprSignalListener destroy;
|
||||
} listeners;
|
||||
|
||||
bool m_hasSentLocked = false;
|
||||
std::unordered_set<uint64_t> m_lockedMonitors;
|
||||
bool hasSentLocked = false;
|
||||
std::unordered_set<uint64_t> lockedMonitors;
|
||||
};
|
||||
|
||||
class CSessionLockManager {
|
||||
|
|
@ -65,11 +65,11 @@ class CSessionLockManager {
|
|||
bool shallConsiderLockMissing();
|
||||
|
||||
private:
|
||||
UP<SSessionLock> m_pSessionLock;
|
||||
UP<SSessionLock> m_sessionLock;
|
||||
|
||||
struct {
|
||||
CHyprSignalListener newLock;
|
||||
} listeners;
|
||||
} m_listeners;
|
||||
|
||||
void onNewSessionLock(SP<CSessionLock> pWlrLock);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue