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
This commit is contained in:
parent
315fff68e9
commit
d028e3b1e9
1 changed files with 0 additions and 2 deletions
|
@ -772,8 +772,6 @@ void Workspace::removeUnmanaged(X11Window *window)
|
||||||
{
|
{
|
||||||
Q_ASSERT(m_windows.contains(window));
|
Q_ASSERT(m_windows.contains(window));
|
||||||
m_windows.removeOne(window);
|
m_windows.removeOne(window);
|
||||||
removeFromStack(window);
|
|
||||||
updateStackingOrder();
|
|
||||||
Q_EMIT windowRemoved(window);
|
Q_EMIT windowRemoved(window);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue