Fix Ozone's window blending setting.
BUG: 197269 svn path=/trunk/KDE/kdebase/workspace/; revision=984204
This commit is contained in:
parent
138179d06c
commit
11151655d0
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
|
|||
KDecorationDefines::ColorTitleBar, client_.isActive()));
|
||||
}
|
||||
// fill the grey square
|
||||
helper_.renderWindowBackground(&painter, this->rect(), this, pal, 23 /*TODO: calculate this from layout metrics*/);
|
||||
helper_.renderWindowBackground(&painter, this->rect(), this, pal2, 23 /*TODO: calculate this from layout metrics*/);
|
||||
painter.setClipRect(this->rect());
|
||||
|
||||
// draw dividing line
|
||||
|
|
|
@ -353,7 +353,7 @@ void OxygenClient::paintEvent(QPaintEvent *e)
|
|||
painter.setClipRegion(mask);
|
||||
}
|
||||
|
||||
helper_.renderWindowBackground(&painter, frame, this->widget(), palette, SHADOW_WIDTH);
|
||||
helper_.renderWindowBackground(&painter, frame, this->widget(), pal2, SHADOW_WIDTH);
|
||||
|
||||
if (isCompositingActive) {
|
||||
painter.setClipping(false);
|
||||
|
|
Loading…
Reference in a new issue