From: Dana Jansens Date: Thu, 6 Mar 2008 07:52:54 +0000 (-0500) Subject: use the window as an alpha mask, so that shadows on argb windows will have their... X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b331d3eed79aeb29b906a84c399015193f7d3532;p=dana%2Fdcompmgr.git use the window as an alpha mask, so that shadows on argb windows will have their shape match the window --- diff --git a/render.c b/render.c index e4272ea..267f81a 100644 --- 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_NONE, + wd->picture, d->overlay_buffer, 0, 0, 0, 0, x+d->xshadowoff, y+d->yshadowoff,