Forward port rev 1169158: Exclude all transformed windows from blur effect.
Currently only scaled or translated windows were excluded, but it is possible to also have windows with just changed window quads (e.g. magic lamp). CCBUG: 243693 svn path=/trunk/KDE/kdebase/workspace/; revision=1169160
This commit is contained in:
parent
8c2c23697b
commit
4c6f8d9c28
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ void BlurEffect::drawWindow(EffectWindow *w, int mask, QRegion region, WindowPai
|
|||
const QRect screen(0, 0, displayWidth(), displayHeight());
|
||||
bool scaled = !qFuzzyCompare(data.xScale, 1.0) && !qFuzzyCompare(data.yScale, 1.0);
|
||||
bool translated = data.xTranslate || data.yTranslate;
|
||||
bool transformed = scaled || translated;
|
||||
bool transformed = scaled || translated || mask & PAINT_WINDOW_TRANSFORMED;
|
||||
bool hasAlpha = w->hasAlpha() || (w->hasDecoration() && effects->decorationsHaveAlpha());
|
||||
bool valid = target->valid() && shader->isValid();
|
||||
|
||||
|
|
Loading…
Reference in a new issue