summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorracarr <racarr>2007-01-28 19:49:02 +0000
committerracarr <racarr>2007-01-28 19:49:02 +0000
commite1a2683837d295bd0f08c4609eab0e11b971594d (patch)
tree60697057043b7e535e8c9f9aba4c07028899d70a
parent636dc7a0e774bda26a3e8fb5832b315881f0c5a4 (diff)
downloadberyl-desktop-manager-e1a2683837d295bd0f08c4609eab0e11b971594d.tar.gz
beryl-desktop-manager-e1a2683837d295bd0f08c4609eab0e11b971594d.tar.bz2
Update renderText to actually paint and to respect text->attrib->alpha
-rw-r--r--src/bdm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 8a71662..46aaa8d 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -104,6 +104,7 @@ static void renderText (cairo_t * cr, BDMText * text, ScreenArea * area)
text->color[2] / 65535.0, text->color[3] / 65535.0);
pango_cairo_show_layout (cr, layout);
+ cairo_paint_with_alpha(cr, text->attrib->alpha);
g_object_unref (layout);
cairo_restore (cr);