From 497ba4a62a20707409b6ff8828270015184ade8c Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 7 Mar 2023 22:19:09 +0200 Subject: [PATCH] Stop including deleted windows in Workspace::forEachToplevel --- src/workspace.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/workspace.cpp b/src/workspace.cpp index 4f9d07aa7e..f54e291c6a 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -2001,7 +2001,6 @@ Window *Workspace::findToplevel(const QUuid &internalId) const void Workspace::forEachToplevel(std::function func) { std::for_each(m_allClients.constBegin(), m_allClients.constEnd(), func); - std::for_each(deleted.constBegin(), deleted.constEnd(), func); std::for_each(m_unmanaged.constBegin(), m_unmanaged.constEnd(), func); std::for_each(m_internalWindows.constBegin(), m_internalWindows.constEnd(), func); }