[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdebase/workspace/kwin
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2008-03-03 19:20:30
Message-ID: 1204572030.480675.19029.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 781852 by rivol:

Backport r781850:
Return empty shape region if XShapeGetRectangles() returns null.


 M  +1 -1      scene.cpp  


--- branches/KDE/4.0/kdebase/workspace/kwin/scene.cpp #781851:781852
@@ -351,7 +351,7 @@
                 XFree(rects);
                 }
             else
-                shape_region = QRegion( 0, 0, width(), height());
+                shape_region = QRegion();
             }
         else
             shape_region = QRegion( 0, 0, width(), height());
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic