From 89c7b236b580a78ea529c4c65bc5944c0a52bdf5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 23 May 2007 01:00:27 +0000 Subject: fix libwnck by unmapping the plate window as well as the client during iconify animation --- openbox/frame.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/frame.c') diff --git a/openbox/frame.c b/openbox/frame.c index 60d04eb7..3565f54e 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -251,6 +251,7 @@ void frame_show(ObFrame *self) if (!self->visible) { self->visible = TRUE; XMapWindow(ob_display, self->client->window); + XMapWindow(ob_display, self->plate); XMapWindow(ob_display, self->window); } } @@ -261,6 +262,7 @@ void frame_hide(ObFrame *self) self->visible = FALSE; if (!frame_iconify_animating(self)) XUnmapWindow(ob_display, self->window); + XUnmapWindow(ob_display, self->plate); /* we unmap the client itself so that we can get MapRequest events, and because the ICCCM tells us to! */ XUnmapWindow(ob_display, self->client->window); -- cgit v1.2.3