From ee3b770cfde266fe79fc741c386354748dde2e57 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 6 Oct 2022 17:58:38 +0100 Subject: [PATCH] more checks in pid gathering --- src/Compositor.cpp | 4 +--- 1 file changed, 1 insertion(+), 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