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

List:       kde-commits
Subject:    branches/KDE/4.1/kdebase/workspace/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-10-01 11:55:48
Message-ID: 1222862148.428104.5773.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 866589 by lunakl:

r866586
Avoid drawing corruptions caused by window geometry and shape
being out of sync (bnc#430472).



 M  +2 -0      scene.cpp  


--- branches/KDE/4.1/kdebase/workspace/kwin/scene.cpp #866588:866589
@@ -355,6 +355,8 @@
                     shape_region += QRegion( rects[ i ].x, rects[ i ].y,
                         rects[ i ].width, rects[ i ].height );
                 XFree(rects);
+                // make sure the shape is sane (X is async, maybe even XShape is broken)
+                shape_region &= QRegion( 0, 0, width(), height());
                 }
             else
                 shape_region = QRegion();
[prev in list] [next in list] [prev in thread] [next in thread] 

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