diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-06 17:58:38 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-06 17:58:38 +0100 |
| commit | ee3b770cfde266fe79fc741c386354748dde2e57 (patch) | |
| tree | ba884d3acebdad8de1bfd53948a5a54a2dbc0edf /src | |
| parent | a29af895458bf2a521f6c7e4e9eeba95105333f9 (diff) | |
more checks in pid gathering
Diffstat (limited to 'src')
| -rw-r--r-- | src/Compositor.cpp | 4 |
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 |
