summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-28 11:19:08 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-28 11:19:08 +0200
commitd413388761c85c1bd153a4bbf8b6f96189cd416a (patch)
tree2d073c24292f5ecd94c0b441864bf8b1306fc4e5 /src/Compositor.hpp
parent4203a61b69f5ee31d142920b5ef0b652d7bbb143 (diff)
Multiple improvements to the shutdown procedure
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp5
1 files changed, 4 insertions, 1 deletions
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<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;
};