Partially revert 89b35c3238
As it turns out, it's needed to ensure that the Workspace emits the stackingOrder changed signal when a new window is added. It's also implicitly needed to make sure that Window::stackingOrder() is updated.
This commit is contained in:
parent
f4c704a904
commit
09ba8729fc
1 changed files with 2 additions and 2 deletions
|
@ -796,7 +796,7 @@ void Workspace::addWaylandWindow(Window *window)
|
|||
m_allClients.append(window);
|
||||
addToStack(window);
|
||||
|
||||
updateStackingOrder();
|
||||
updateStackingOrder(true);
|
||||
updateClientArea();
|
||||
if (window->wantsInput() && !window->isMinimized()) {
|
||||
activateWindow(window);
|
||||
|
@ -1912,7 +1912,7 @@ void Workspace::addInternalWindow(InternalWindow *window)
|
|||
Placement::self()->place(window, area);
|
||||
}
|
||||
|
||||
updateStackingOrder();
|
||||
updateStackingOrder(true);
|
||||
updateClientArea();
|
||||
|
||||
Q_EMIT internalWindowAdded(window);
|
||||
|
|
Loading…
Reference in a new issue