From c920574f4d771020e9b64cbc2788070636f1772e Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Mon, 3 Mar 2008 19:17:56 +0000 Subject: [PATCH] Return empty shape region if XShapeGetRectangles() returns null. svn path=/trunk/KDE/kdebase/workspace/; revision=781850 --- scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.cpp b/scene.cpp index bab07ccaa0..056223a87a 100644 --- a/scene.cpp +++ b/scene.cpp @@ -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());