Commit cc9356a8 authored by Martin Flöser's avatar Martin Flöser
Browse files

Fix a rendering glitch caused by the reflections in CoverSwitch

Seems like we need to use drawWindow instead of paintWindow or
KWin will keep some parts of the paint data.

BUG: 276810
FIXED-IN: 4.7.0
parent c1ac45e1
......@@ -752,7 +752,7 @@ void CoverSwitchEffect::paintWindowCover(EffectWindow* w, bool reflectedWindow,
} else if (stop) {
data.opacity *= 1.0 - timeLine.currentValue();
infiniteRegion(), data);
shader->setUniform("screenTransformation", origMatrix);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment