diff --git a/src/plasma/framesvg.cpp b/src/plasma/framesvg.cpp index 03b774f92..092590734 100644 --- a/src/plasma/framesvg.cpp +++ b/src/plasma/framesvg.cpp @@ -835,7 +835,7 @@ QRect FrameSvgPrivate::sectionRect(FrameData* frame, Plasma::FrameSvg::EnabledBo { switch(borders) { case FrameSvg::NoBorder: - return frame->composeOverBorder ? QRect(0,0, contentRect.width()+frame->leftWidth+frame->rightWidth, contentRect.height()+frame->topHeight+frame->bottomHeight) : contentRect; + return frame->composeOverBorder ? QRect(0,0, contentRect.width()+frame->leftWidth+frame->rightWidth, contentRect.height()+frame->topHeight+frame->bottomHeight) : contentRect.adjusted(0,0, -1,-1); case FrameSvg::TopBorder: return QRect(QPoint(contentRect.left(), 0), QSize(contentRect.width()-1, frame->topHeight)); case FrameSvg::BottomBorder: