Lame mistake.

BUG: 164450


svn path=/trunk/KDE/kdebase/workspace/; revision=825479
This commit is contained in:
Luboš Luňák 2008-06-28 11:30:52 +00:00
parent f51351b50e
commit 6e56da102a

View file

@ -96,7 +96,7 @@ void ShowPaintEffect::paintXrender()
{
#ifdef KWIN_HAVE_XRENDER_COMPOSITING
XRenderColor col;
int alpha = 0.2;
float alpha = 0.2;
const QColor& color = colors[ color_index ];
col.alpha = int( alpha * 0xffff );
col.red = int( alpha * 0xffff * color.red() / 255 );