From a4f1031a6d9555e614f1c3a24d2db18b0acd734f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 17 Nov 2014 14:31:46 -0600 Subject: Fix improper desktop wallpaper export causing fake transparency dependent application failure --- kcontrol/background/crossfade.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/background/crossfade.h b/kcontrol/background/crossfade.h index dba34a3b4..da589aac4 100644 --- a/kcontrol/background/crossfade.h +++ b/kcontrol/background/crossfade.h @@ -31,8 +31,8 @@ inline TQPixmap crossFade(const TQPixmap &pix1, const TQPixmap &pix2, double r_a mw = pix1.width(); mh = pix1.height(); - int alpha = 0xffff * (1-r_alpha); - + short unsigned int alpha = 0xffff * (1-r_alpha); + XRenderColor clr = { 0, 0, 0, alpha }; XRenderPictureAttributes pa; pa.repeat = True; -- cgit v1.2.3