Don't paint deco on other screen when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=994960
This commit is contained in:
parent
dbbdba2589
commit
9f43aaa1e1
1 changed files with 5 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue