Windows with only shaped decorations are also shaped
from the compositing point of view. svn path=/branches/work/kwin_composite/; revision=593455
This commit is contained in:
parent
d44a4a3676
commit
9941ae2cea
1 changed files with 2 additions and 1 deletions
|
@ -321,7 +321,8 @@ QRegion SceneOpenGL::Window::shape() const
|
|||
{
|
||||
if( !shape_valid )
|
||||
{
|
||||
if( toplevel->shape())
|
||||
Client* c = dynamic_cast< Client* >( toplevel );
|
||||
if( toplevel->shape() || ( c != NULL && !c->mask().isEmpty()))
|
||||
{
|
||||
int count, order;
|
||||
XRectangle* rects = XShapeGetRectangles( display(), toplevel->handle(),
|
||||
|
|
Loading…
Reference in a new issue