Return empty shape region if XShapeGetRectangles() returns null.
svn path=/trunk/KDE/kdebase/workspace/; revision=781850
This commit is contained in:
parent
3f581b4d0c
commit
c920574f4d
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ QRegion Scene::Window::shape() const
|
|||
XFree(rects);
|
||||
}
|
||||
else
|
||||
shape_region = QRegion( 0, 0, width(), height());
|
||||
shape_region = QRegion();
|
||||
}
|
||||
else
|
||||
shape_region = QRegion( 0, 0, width(), height());
|
||||
|
|
Loading…
Reference in a new issue