From c93a6e017991affef566c52b07c7b59092f3e7a3 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 16 Jun 2005 18:49:33 +0000 Subject: [PATCH] * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to be translucent once again. --- ChangeLog | 5 +++++ src/grr_icon.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 45823e2..8cbccfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-06-16 Carl Worth + * src/grr_icon.c (grr_icon_draw_predrawn): Fix inactive targets to + be translucent once again. + +2005-06-16 Carl Worth + * README: Update to refer to cairo instead of Xr. * src/args.c: (args_help), (args_usage), (args_parse): Fix diff --git a/src/grr_icon.c b/src/grr_icon.c index 827d5b8..d4a2bb5 100644 --- a/src/grr_icon.c +++ b/src/grr_icon.c @@ -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); } } -- 2.43.0