summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-07-15 01:43:09 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-07-15 01:43:09 -0500
commitd6f56253b2d2ffd8be1f6283fac2a3e13a45130c (patch)
treece2f3bde6694f27fedcaae451f288efac82f46ad /src
parentd155fe424b964b5dc773de122d27394c3e036619 (diff)
downloadzcomp-d6f56253b2d2ffd8be1f6283fac2a3e13a45130c.tar.gz
zcomp-d6f56253b2d2ffd8be1f6283fac2a3e13a45130c.tar.bz2
Fix panels starting below other windows.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window.cpp b/src/window.cpp
index e93cb21..940deb7 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1556,9 +1556,8 @@ PrivateWindow::configure (XConfigureEvent *ce)
window->resize (ce->x, ce->y, ce->width, ce->height, ce->border_width);
}
-
if (ce->event == screen->root ())
- priv->restack (ce->above);
+ priv->restack (ce->above);
}
void
@@ -1587,8 +1586,6 @@ PrivateWindow::configureFrame (XConfigureEvent *ce)
window->resize (x, y, width, height, ce->border_width);
}
-
- priv->restack (ce->above);
}
void