kwin: fixes graphical glitches in the wobblywindows effect
Before this patch, the damaged area had been underestimated.
This commit is contained in:
parent
1b3657ec0e
commit
5e22d3912b
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ void WobblyWindowsEffect::paintWindow(EffectWindow* w, int mask, QRegion region,
|
||||||
bottom = qMax(bottom, data.quads[i].bottom());
|
bottom = qMax(bottom, data.quads[i].bottom());
|
||||||
}
|
}
|
||||||
m_updateRegion = m_updateRegion.united(QRect(w->x() + left, w->y() + top,
|
m_updateRegion = m_updateRegion.united(QRect(w->x() + left, w->y() + top,
|
||||||
right - left, bottom - top));
|
right - left + 2, bottom - top + 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call the next effect.
|
// Call the next effect.
|
||||||
|
|
Loading…
Reference in a new issue