summaryrefslogtreecommitdiffstats
path: root/kcontrol/background/crossfade.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-11-17 14:31:46 -0600
committerTimothy Pearson <[email protected]>2014-11-17 14:31:46 -0600
commita4f1031a6d9555e614f1c3a24d2db18b0acd734f (patch)
treeb80a81f21a1e089c560915f852066235a7529dd3 /kcontrol/background/crossfade.h
parentd8e76211d98c87c319f9b371ab8923265a683e97 (diff)
downloadtdebase-a4f1031a6d9555e614f1c3a24d2db18b0acd734f.tar.gz
tdebase-a4f1031a6d9555e614f1c3a24d2db18b0acd734f.zip
Fix improper desktop wallpaper export causing fake transparency dependent application failure
Diffstat (limited to 'kcontrol/background/crossfade.h')
-rw-r--r--kcontrol/background/crossfade.h4
1 files changed, 2 insertions, 2 deletions
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;