fix libwnck by unmapping the plate window as well as the client during iconify animation
Dana Jansens danakj@orodu.net
2 files changed,
3 insertions(+),
0 deletions(-)
M
openbox/client.c
→
openbox/client.c
@@ -2286,6 +2286,7 @@
state[0] = self->wmstate; state[1] = None; PROP_SETA32(self->window, wm_state, wm_state, state, 2); + ob_debug("setting wm_state %d\n", self->wmstate); } }
M
openbox/frame.c
→
openbox/frame.c
@@ -251,6 +251,7 @@ {
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 @@ if (self->visible) {
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);