summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-23 13:59:56 +0000
committerDana Jansens <danakj@orodu.net>2007-05-23 13:59:56 +0000
commit52a28bb5d8a84dde3c8f848c52221a6cfd9bc643 (patch)
tree17ec7982790c52efc791f4e642ca286bb5f5a8a3
parenta055fd9e57cc0715d491405c41494b5e155c795c (diff)
little comment about unmapping the plate window for libwnck
-rw-r--r--openbox/frame.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 3565f54e..ab0d331a 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -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! */