From d413388761c85c1bd153a4bbf8b6f96189cd416a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 28 Aug 2022 11:19:08 +0200 Subject: Multiple improvements to the shutdown procedure --- src/Compositor.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Compositor.hpp') diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 2a8c7fcb..45d108cf 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -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 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; }; -- cgit v1.2.3