- Fix unpainted areas when shaded

svn path=/trunk/kdebase/kwin/; revision=113873
icc-effect-5.14.5
Karol Szwed 2001-09-10 05:57:43 +00:00
parent 84ae6d018b
commit 23eeb11064
1 changed files with 2 additions and 2 deletions

View File

@ -579,7 +579,7 @@ void B2Client::paintEvent( QPaintEvent* e)
// inner window rect
p.drawRect(3, t.bottom(), width()-6, height()-t.height()-6);
p.drawLine(4, t.bottom()-1, width()-8, t.bottom()-1);
p.drawLine(4, t.bottom()+1, width()-5, t.bottom()+1);
// outer frame rect
p.drawRect(0, t.bottom()-3, width(), height()-t.height());
@ -598,7 +598,7 @@ void B2Client::paintEvent( QPaintEvent* e)
qDrawShadePanel(&p, 1, t.bottom()-2, width()-2, height()-t.height()-2,
options->colorGroup(Options::TitleBar, isActive()), false);
else
qDrawShadePanel(&p, 1, t.bottom()-2, width()-2, height()-t.height()-2,
qDrawShadePanel(&p, 1, t.bottom()-2, width()-2, height()-t.height()-2,
options->colorGroup(Options::Frame, isActive()), false);
//bottom handle rect