mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 14:42:01 -07:00
more guarding in cleanup pid gathering
This commit is contained in:
@@ -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());
|
||||||
|
Reference in New Issue
Block a user