summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorJoel Bosveld <Joel.Bosveld@gmail.com>2009-04-07 07:33:42 +0800
committerJoel Bosveld <Joel.Bosveld@gmail.com>2009-04-30 21:28:00 +0800
commita6bfed5f6326609c13bde0429d4877b76adef898 (patch)
tree8053e0ad52e4adf038c2e08ce49738dccbc5958c /src/privatewindow.h
parentdf91e9f44375c04397216de38e3bdf052cca5882 (diff)
downloadunity-window-decorator-a6bfed5f6326609c13bde0429d4877b76adef898.tar.gz
unity-window-decorator-a6bfed5f6326609c13bde0429d4877b76adef898.tar.bz2
Restack window list immediately when calling reconfigureXWindow
Previously, trying to restack multiple windows wouldn't work as expected, as the window list wasn't restacked until the configureNotify was recieved, which lead to it stacking the window above the wrong window
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index e54c096..1f2c600 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -84,9 +84,12 @@ class PrivateWindow {
static bool stackTransients (CompWindow *w,
CompWindow *avoid,
- XWindowChanges *xwc);
+ XWindowChanges *xwc,
+ CompWindowList &updateList);
- static void stackAncestors (CompWindow *w, XWindowChanges *xwc);
+ static void stackAncestors (CompWindow *w,
+ XWindowChanges *xwc,
+ CompWindowList &updateList);
static bool isAncestorTo (CompWindow *transient,
CompWindow *ancestor);