Draw unpainted areas when a window is shaded.
Approved by Maksim. svn path=/trunk/kdebase/kwin/; revision=186526
This commit is contained in:
parent
c8bc0e4f38
commit
9cb1740124
1 changed files with 5 additions and 0 deletions
|
@ -1328,6 +1328,11 @@ void KeramikClient::paintEvent( QPaintEvent *e )
|
||||||
p.drawPixmap( width() - 9, height() - grabBarHeight,
|
p.drawPixmap( width() - 9, height() - grabBarHeight,
|
||||||
*clientHandler->tile( GrabBarRight, active ) );
|
*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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue