mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:25:59 +01:00
more checks in pid gathering
This commit is contained in:
parent
a29af89545
commit
ee3b770cfd
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue