]> git.cworth.org Git - grrobot/commitdiff
* src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to
authorCarl Worth <cworth@theworths.org>
Thu, 16 Jun 2005 18:49:33 +0000 (18:49 +0000)
committerCarl Worth <cworth@theworths.org>
Thu, 16 Jun 2005 18:49:33 +0000 (18:49 +0000)
        be translucent once again.

ChangeLog
src/grr_icon.c

index 45823e22be479839b32c4418c44e2822ef0c920f..8cbccfdbdf47572b51d0216059183bd4594719d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-06-16  Carl Worth  <cworth@cworth.org>
 
+       * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to
+       be translucent once again.
+
+2005-06-16  Carl Worth  <cworth@cworth.org>
+       
        * README: Update to refer to cairo instead of Xr.
        
        * src/args.c: (args_help), (args_usage), (args_parse): Fix
index 827d5b8b46e3388050aced2685dae2ed9d605943..d4a2bb58b979f14e42fbf3a06491ef007c1f04d3 100644 (file)
@@ -259,6 +259,6 @@ grr_icon_draw_predrawn (grr_icon_t *icon, cairo_t *xrs, double alpha)
 {
     if (icon->surface) {
        cairo_set_source_surface (xrs, icon->surface, 0.0, 0.0);
-       cairo_paint (xrs);
+       cairo_paint_with_alpha (xrs, alpha);
     }
 }