we're only getting one unmap notify now, with the new event mask on the root window...
authorDana Jansens <danakj@orodu.net>
Tue, 20 Mar 2007 04:42:25 +0000 (04:42 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 20 Mar 2007 04:42:25 +0000 (04:42 +0000)
openbox/frame.c

index 3fd8b22..5383f7a 100644 (file)
@@ -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);