Workspace::raiseWindow: fix order of transients
Place transients of window being raised in correct order when moving them within unconstrained_stacking_order list; this way we don't have to reorder them each time we call constrainedStackingOrder() later on. Workspace::lowerWindow() already does it correctly.
This commit is contained in:
parent
d4127d07fd
commit
6573275be6
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ void Workspace::raiseWindow(Window *window, bool nogroup)
|
|||
QList<Window *> transients;
|
||||
Window *transient_parent = window;
|
||||
while ((transient_parent = transient_parent->transientFor())) {
|
||||
transients << transient_parent;
|
||||
transients.prepend(transient_parent);
|
||||
}
|
||||
for (const auto &transient_parent : std::as_const(transients)) {
|
||||
raiseWindow(transient_parent, true);
|
||||
|
|
Loading…
Reference in a new issue