summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-11 23:32:01 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-11 23:50:53 -0500
commit88499e2bfa23363264c623f9f817c9f0f0ebf571 (patch)
tree5ddedd97cc826135a3afb4e2b948231a73e38527 /src
parent72f8f1df208cc25ce39119293790ccc50a362c35 (diff)
downloadzcomp-88499e2bfa23363264c623f9f817c9f0f0ebf571.tar.gz
zcomp-88499e2bfa23363264c623f9f817c9f0f0ebf571.tar.bz2
Revert "Fix panels starting below other windows."
This reverts commit d6f56253b2d2ffd8be1f6283fac2a3e13a45130c. This didn't work as expected, as windows' input was still above panels even though windows looked like they were behind panels, whenever the problem happened. When fullscreen mode is initiated in evince, this commit also caused windows to have their input in front of evince's fullscreen window even though the fullscreen window appears to be in front of them. This in turn triggered a freeze when the user clicks on the screen in evince while in fullscreen mode.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index fc4df0c..2978a8f 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1556,8 +1556,9 @@ 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
@@ -1586,6 +1587,8 @@ PrivateWindow::configureFrame (XConfigureEvent *ce)
window->resize (x, y, width, height, ce->border_width);
}
+
+ priv->restack (ce->above);
}
void