mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 18:25:59 +01:00
more guarding in cleanup pid gathering
This commit is contained in:
parent
0eb5ecafb9
commit
0d95a0174c
1 changed files with 2 additions and 1 deletions
|
@ -237,7 +237,8 @@ void CCompositor::cleanup() {
|
|||
|
||||
// accumulate all PIDs for killing, also request closing.
|
||||
for (auto& w : m_vWindows) {
|
||||
m_dProcessPIDsOnShutdown.push_back(w->getPID());
|
||||
if (w->m_bIsMapped || !w->m_bIsX11)
|
||||
m_dProcessPIDsOnShutdown.push_back(w->getPID());
|
||||
|
||||
closeWindow(w.get());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue