diff --git a/src/effects/blur/blur.cpp b/src/effects/blur/blur.cpp index 836a26953b..95a94373de 100644 --- a/src/effects/blur/blur.cpp +++ b/src/effects/blur/blur.cpp @@ -620,8 +620,8 @@ void BlurEffect::drawWindow(EffectWindow *w, int mask, const QRegion ®ion, Wi for (QRect r : shape) { r.moveTo(pt.x() + (r.x() - pt.x()) * data.xScale() + data.xTranslation(), pt.y() + (r.y() - pt.y()) * data.yScale() + data.yTranslation()); - r.setWidth(r.width() * data.xScale()); - r.setHeight(r.height() * data.yScale()); + r.setWidth(std::ceil(r.width() * data.xScale())); + r.setHeight(std::ceil(r.height() * data.yScale())); scaledShape |= r; } shape = scaledShape;