diff --git a/kdecoration/breezedecoration.cpp b/kdecoration/breezedecoration.cpp --- a/kdecoration/breezedecoration.cpp +++ b/kdecoration/breezedecoration.cpp @@ -476,6 +476,8 @@ const auto c = client().data(); const QRect titleRect(QPoint(0, 0), QSize(size().width(), borderTop())); + if ( !titleRect.contains(repaintRegion) ) return; + painter->save(); painter->setPen(Qt::NoPen);