summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-03 19:41:48 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-03 19:41:48 +0800
commit92bd65f8e6a109a40e7fc31d3bd474b175ba34e2 (patch)
tree2398c42d1ff6b7be424be53080fda9e93192800c /src/window.cpp
parentba816354a37f496aa06f6eb510b0f1e20db477b4 (diff)
downloadunity-window-decorator-92bd65f8e6a109a40e7fc31d3bd474b175ba34e2.tar.gz
unity-window-decorator-92bd65f8e6a109a40e7fc31d3bd474b175ba34e2.tar.bz2
Apply stacking changes after configure
Diffstat (limited to 'src/window.cpp')
-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