diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-23 01:00:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-23 01:00:27 +0000 |
| commit | 89c7b236b580a78ea529c4c65bc5944c0a52bdf5 (patch) | |
| tree | 9292b14434ec8ae6e245fc22b073b0228b4f0fce | |
| parent | b95fe18c5696c01b9d87e0031c5360aa905e94cd (diff) | |
fix libwnck by unmapping the plate window as well as the client during iconify animation
| -rw-r--r-- | openbox/client.c | 1 | ||||
| -rw-r--r-- | openbox/frame.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c index 557909a1..b35f9e3f 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2286,6 +2286,7 @@ static void client_change_wm_state(ObClient *self) 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); } } 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); |
