Properly account for windeco padding, when deciding which parts of the decoration are to be
drawn in "buildQuads" method. Bug: 235820 svn path=/trunk/KDE/kdebase/workspace/; revision=1121191
This commit is contained in:
parent
73c39daaaa
commit
81e2b18888
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ WindowQuadList Scene::Window::buildQuads( bool force ) const
|
|||
if( cached_quad_list != NULL && !force )
|
||||
return *cached_quad_list;
|
||||
WindowQuadList ret;
|
||||
if( toplevel->clientPos() == QPoint( 0, 0 ) && toplevel->clientSize() == toplevel->size())
|
||||
if( toplevel->clientPos() == QPoint( 0, 0 ) && toplevel->clientSize() == toplevel->visibleRect().size())
|
||||
ret = makeQuads( WindowQuadContents, shape()); // has no decoration
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue