diff --git a/kdecoration/breezedecoration.cpp b/kdecoration/breezedecoration.cpp index 3014e834..ff52dec7 100644 --- a/kdecoration/breezedecoration.cpp +++ b/kdecoration/breezedecoration.cpp @@ -476,7 +476,7 @@ namespace Breeze const auto c = client().data(); const QRect titleRect(QPoint(0, 0), QSize(size().width(), borderTop())); - if ( !titleRect.contains(repaintRegion) ) return; + if ( !titleRect.intersects(repaintRegion) ) return; painter->save(); painter->setPen(Qt::NoPen);