aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-10-06 17:58:38 +0100
committervaxerski <[email protected]>2022-10-06 17:58:38 +0100
commitee3b770cfde266fe79fc741c386354748dde2e57 (patch)
treeba884d3acebdad8de1bfd53948a5a54a2dbc0edf
parenta29af895458bf2a521f6c7e4e9eeba95105333f9 (diff)
downloadHyprland-ee3b770cfde266fe79fc741c386354748dde2e57.tar.gz
Hyprland-ee3b770cfde266fe79fc741c386354748dde2e57.zip
more checks in pid gathering
-rw-r--r--src/Compositor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 57a87795..7c8b1ef8 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -240,10 +240,8 @@ void CCompositor::cleanup() {
// accumulate all PIDs for killing, also request closing.
for (auto& w : m_vWindows) {
- if (w->m_bIsMapped || !w->m_bIsX11)
+ if (w->m_bIsMapped && !w->m_bHidden)
m_dProcessPIDsOnShutdown.push_back(w->getPID());
-
- closeWindow(w.get());
}
// end threads