summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-20 04:42:25 +0000
committerDana Jansens <danakj@orodu.net>2007-03-20 04:42:25 +0000
commite227ac841e1fc7423c90fbd2c13ba379461a39c1 (patch)
tree51c47cd53afcca20e230cb9252094d144d621cb1
parentfb3d2033ba5c9edc198296793dde59341577b9b0 (diff)
we're only getting one unmap notify now, with the new event mask on the root window. we're not getting one for the frame window anymore.
-rw-r--r--openbox/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 3fd8b22a..5383f7a3 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -247,7 +247,7 @@ void frame_hide(ObFrame *self)
if (self->visible || self->firstmap == FALSE) {
if (self->visible) {
self->visible = FALSE;
- self->client->ignore_unmaps += 2;
+ self->client->ignore_unmaps += 1;
/* we unmap the client itself so that we can get MapRequest
events, and because the ICCCM tells us to! */
XUnmapWindow(ob_display, self->window);