[fusion-commits] Addhelper plugin: Changes to 'master' (6342d0940d6fabbb96116c5942768811f7945df6)

maniac at server.beryl-project.org maniac at server.beryl-project.org
Mon Aug 6 09:00:38 CEST 2007


New commits:
commit 6342d0940d6fabbb96116c5942768811f7945df6
Author: Danny Baumann <dannybaumann at web.de>
Date:   Mon Aug 6 09:00:32 2007 +0200

    Fix applying the saturation value.


 addhelper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Modified: fusion/plugins/addhelper/addhelper.c
===================================================================
--- fusion/plugins/addhelper/addhelper.c
+++ fusion/plugins/addhelper/addhelper.c
@@ -134,7 +134,7 @@ static Bool addhelperPaintWindow(CompWindow *w, const WindowPaintAttrib *attrib,
 		// applies the lowest value
 		wAttrib.opacity = MIN(attrib->opacity, ad->opacity);
 		wAttrib.brightness = MIN(attrib->brightness, ad->brightness);
-		wAttrib.saturation = MIN(attrib->saturation, ad->brightness);
+		wAttrib.saturation = MIN(attrib->saturation, ad->saturation);
 
 		// continue painting with the modified attribute
 		UNWRAP(as, w->screen, paintWindow);


More information about the commits mailing list