Draw unpainted areas when a window is shaded.

Approved by Maksim.

svn path=/trunk/kdebase/kwin/; revision=186526
icc-effect-5.14.5
Karol Szwed 2002-10-30 16:15:58 +00:00
parent c8bc0e4f38
commit 9cb1740124
1 changed files with 5 additions and 0 deletions

View File

@ -1328,6 +1328,11 @@ void KeramikClient::paintEvent( QPaintEvent *e )
p.drawPixmap( width() - 9, height() - grabBarHeight,
*clientHandler->tile( GrabBarRight, active ) );
}
// Extra drawline for the 1 pixel empty space QLayout leaves when a window is shaded.
p.setPen( options->color( Options::TitleBlend, active ) );
p.drawLine( 3, height() - grabBarHeight - 1,
width() - 4, height() - grabBarHeight - 1 );
}