summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-08-11 03:26:20 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-08-11 03:26:20 +0800
commitb460fe98f02ec8b27f58920b4e72b3a27b892107 (patch)
treea70c989c4236d38792817a5df41ecc36f547884b /src/window.cpp
parent0ff8337b4eab52b26edbdec4153118cc4b97ff8a (diff)
downloadunity-window-decorator-b460fe98f02ec8b27f58920b4e72b3a27b892107.tar.gz
unity-window-decorator-b460fe98f02ec8b27f58920b4e72b3a27b892107.tar.bz2
Use restack () instead of restackBelow () to ensure stack synchronousity
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 9c4b92b..031f290 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -5591,7 +5591,7 @@ PrivateWindow::reparent ()
if (above)
window->restackAbove (sibling);
else
- window->restackBelow (sibling);
+ priv->restack (sibling->id ());
}
window->windowNotify (CompWindowNotifyReparent);