diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp index a4ce175661..536cc0a208 100644 --- a/clients/aurorae/src/aurorae.cpp +++ b/clients/aurorae/src/aurorae.cpp @@ -654,6 +654,11 @@ void AuroraeClient::paintEvent(QPaintEvent *event) frame->setEnabledBorders(Plasma::FrameSvg::AllBorders); } QRectF rect = QRectF(0.0, 0.0, widget()->width(), widget()->height()); + if (maximized) { + rect = QRectF(conf.paddingLeft(), conf.paddingTop(), + widget()->width() - conf.paddingRight(), + widget()->height() - conf.paddingBottom()); + } QRectF sourceRect = rect; if (!compositingActive()) { rect = QRectF(conf.paddingLeft(), conf.paddingTop(),