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());