Lame mistake.
BUG: 164450 svn path=/trunk/KDE/kdebase/workspace/; revision=825479
This commit is contained in:
parent
f51351b50e
commit
6e56da102a
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue