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

List:       kde-commits
Subject:    KDE/kdebase/workspace/ksmserver
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-06-23 12:30:20
Message-ID: 1245760220.800564.6227.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 985681 by mart:

use the mask that framesvg can generate, fixes the window shape in non
composite mode


 M  +1 -7      shutdowndlg.cpp  


--- trunk/KDE/kdebase/workspace/ksmserver/shutdowndlg.cpp #985680:985681
@@ -606,13 +606,7 @@
     if( KWindowSystem::compositingActive()) {
         clearMask();
     } else {
-        QBitmap mask(size());
-        mask.fill(Qt::color0);
-
-        QPainter p(&mask);
-        m_svg->resize(size());
-        m_svg->paint(&p, QRect(0, 0, width(), height()), "background");
-        setMask(mask);
+        setMask(m_svg->mask());
     }
 
     KDialog::centerOnScreen(this);
[prev in list] [next in list] [prev in thread] [next in thread] 

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