Multiple improvements to the shutdown procedure

This commit is contained in:
vaxerski
2022-08-28 11:19:08 +02:00
parent 4203a61b69
commit d413388761
7 changed files with 41 additions and 7 deletions

View File

@@ -101,6 +101,7 @@ public:
bool m_bDPMSStateON = true;
bool m_bUnsafeState = false; // unsafe state is when there is no monitors.
bool m_bIsShuttingDown = false;
std::deque<uint64_t> m_dProcessPIDsOnShutdown; // stores PIDs of apps to kill later when shutting down
// ------------------------------------------------- //
@@ -172,7 +173,9 @@ public:
private:
void initAllSignals();
void setRandomSplash();
void setRandomSplash();
uint64_t m_iHyprlandPID = 0;
};