Commit fc30704c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Breeze window decoration] Use intersects instead of contains

Otherwise breaks if the entire deco is painted at once (e.g. window decoration KCM)
parent f0709ccc
......@@ -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);
......
Markdown is supported
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