mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 09:05:58 +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,6 +237,7 @@ void CCompositor::cleanup() {
|
||||||
|
|
||||||
// accumulate all PIDs for killing, also request closing.
|
// accumulate all PIDs for killing, also request closing.
|
||||||
for (auto& w : m_vWindows) {
|
for (auto& w : m_vWindows) {
|
||||||
|
if (w->m_bIsMapped || !w->m_bIsX11)
|
||||||
m_dProcessPIDsOnShutdown.push_back(w->getPID());
|
m_dProcessPIDsOnShutdown.push_back(w->getPID());
|
||||||
|
|
||||||
closeWindow(w.get());
|
closeWindow(w.get());
|
||||||
|
|
Loading…
Reference in a new issue