From: Dana Jansens Date: Tue, 20 Mar 2007 04:42:25 +0000 (+0000) Subject: we're only getting one unmap notify now, with the new event mask on the root window... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e227ac841e1fc7423c90fbd2c13ba379461a39c1;p=chaz%2Fopenbox 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. --- 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);