use the window as an alpha mask, so that shadows on argb windows will have their...
authorDana Jansens <danakj@orodu.net>
Thu, 6 Mar 2008 07:52:54 +0000 (02:52 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 6 Mar 2008 07:52:54 +0000 (02:52 -0500)
render.c

index e4272ea..267f81a 100644 (file)
--- a/render.c
+++ b/render.c
@@ -525,7 +525,7 @@ paint_shadow(d_window_t *w, data_t *d, window_data_t *wd)
     xcb_render_composite(w->sc->dpy->conn,
                          XCB_RENDER_PICT_OP_OVER,
                          wd->shadow_picture,
     xcb_render_composite(w->sc->dpy->conn,
                          XCB_RENDER_PICT_OP_OVER,
                          wd->shadow_picture,
-                         XCB_NONE,
+                         wd->picture,
                          d->overlay_buffer,
                          0, 0, 0, 0,
                          x+d->xshadowoff, y+d->yshadowoff,
                          d->overlay_buffer,
                          0, 0, 0, 0,
                          x+d->xshadowoff, y+d->yshadowoff,