make transparency work
authorDana Jansens <danakj@orodu.net>
Wed, 5 Mar 2008 05:30:06 +0000 (00:30 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Mar 2008 05:30:06 +0000 (00:30 -0500)
render.c

index 222a642..24fd7d7 100644 (file)
--- a/render.c
+++ b/render.c
@@ -319,8 +319,8 @@ paint_window(d_window_t *w)
     //printf("-- paint window 0x%x picture 0x%x --\n", w->id, wd->picture);
     window_get_area(w, &x, &y, &width, &height, &bwidth);
     xcb_render_composite(w->sc->dpy->conn,
-                         XCB_RENDER_PICT_OP_SRC,
-                         /*XCB_RENDER_PICT_OP_OVER, - for argb */
+                         //XCB_RENDER_PICT_OP_SRC,  /* - for solid */
+                         XCB_RENDER_PICT_OP_OVER, /* - for argb */
                          wd->picture,
                          XCB_NONE,
                          d->overlay_buffer,