Reevaluate stacking order when an override-redirect window is added
The stacking order needs to be re-evaluated so Window.stackingOrder is updated.
This commit is contained in:
parent
b099ad8ade
commit
219b6c6b50
1 changed files with 2 additions and 0 deletions
|
@ -969,6 +969,7 @@ void Workspace::addUnmanaged(Unmanaged *window)
|
|||
{
|
||||
m_unmanaged.append(window);
|
||||
addToStack(window);
|
||||
updateStackingOrder(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -991,6 +992,7 @@ void Workspace::removeUnmanaged(Unmanaged *window)
|
|||
Q_ASSERT(m_unmanaged.contains(window));
|
||||
m_unmanaged.removeAll(window);
|
||||
removeFromStack(window);
|
||||
updateStackingOrder();
|
||||
Q_EMIT unmanagedRemoved(window);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue