summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/window.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 4ce36cc..24d98fd 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3068,6 +3068,11 @@ CompWindow::lower ()
XWindowChanges xwc;
int mask;
+ mask = priv->addWindowStackChanges (&xwc,
+ PrivateWindow::findLowestSiblingBelow (this));
+ if (mask)
+ configureXWindow (mask, &xwc);
+
/* when lowering a window, focus the topmost window if
the click-to-focus option is on */
if ((screen->getOption ("click_to_focus")->value ().b ()))
@@ -3085,12 +3090,6 @@ CompWindow::lower ()
moveInputFocusTo ();
}
}
-
-
- mask = priv->addWindowStackChanges (&xwc,
- PrivateWindow::findLowestSiblingBelow (this));
- if (mask)
- configureXWindow (mask, &xwc);
}
void