Package: libvte9
Version: 1:0.24.0-2
Tags: patch

This is upstream bug #615417. [1]

In vte 0.24.0:
1. when saturation is 1, the background image is original image (very
   light).
2. when saturation is less 1 but near 1, the image is black (dark).
3. the saturation level is reversed compared with vte <= 0.23.5

In vte 0.23.5 and before:
1. when saturation is near 1, the background image is light.
2. when saturation is near 0, the background image is dark.

The attached patch will fix the problem.

Kind regards
 Wen-Yen Chuang (caleb)

[1] https://bugzilla.gnome.org/show_bug.cgi?id=615417
--- vte-0.24.0.orig/src/vtebg.c
+++ vte-0.24.0/src/vtebg.c
@@ -500,7 +500,7 @@
 				       tint->red / 65535.,
 				       tint->green / 65535.,
 				       tint->blue / 65535.,
-				       saturation);
+				       1 - saturation);
 		cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
 		cairo_paint (cr);
 	}

Reply via email to