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

[Breeze window decoration] Don't repaint title bar if not damaged

Differential Revision: https://phabricator.kde.org/D9114
parent b54d21e4
......@@ -476,6 +476,8 @@ namespace Breeze
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);
......
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