From d028e3b1e9fec3b09fffa02208378acd4e37c7ae Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 19 Aug 2024 15:16:47 +0300 Subject: [PATCH] Make Workspace::removeUnmanaged() keep the window in the stack It's leftover after the Deleted type. The unmanaged window will be removed from the stack when all its references are dropped and Workspace::removeDeleted() is called. CCBUG: 491618 --- src/workspace.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/workspace.cpp b/src/workspace.cpp index 55cab4044e..18c72dbe07 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -772,8 +772,6 @@ void Workspace::removeUnmanaged(X11Window *window) { Q_ASSERT(m_windows.contains(window)); m_windows.removeOne(window); - removeFromStack(window); - updateStackingOrder(); Q_EMIT windowRemoved(window); } #endif