little comment about unmapping the plate window for libwnck

This commit is contained in:
Dana Jansens 2007-05-23 13:59:56 +00:00
parent a055fd9e57
commit 52a28bb5d8

View file

@ -262,6 +262,9 @@ void frame_hide(ObFrame *self)
self->visible = FALSE;
if (!frame_iconify_animating(self))
XUnmapWindow(ob_display, self->window);
/* unmap the plate along with the client. some people (libwnck) look
to see if it is unmapped when the client is iconified, for whatever
reason. so let's play along... */
XUnmapWindow(ob_display, self->plate);
/* we unmap the client itself so that we can get MapRequest
events, and because the ICCCM tells us to! */