]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.c
fix libwnck by unmapping the plate window as well as the client during iconify animation
[chaz/openbox] / openbox / frame.c
index 60d04eb7005dfc92e8fcdaf550fe43ab2bc17187..3565f54ee0d4c2080b95792f4bc29755f21fd0af 100644 (file)
@@ -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);
This page took 0.021406 seconds and 4 git commands to generate.