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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin
From:       Hasso Tepper <hasso () kde ! org>
Date:       2008-10-13 9:56:14
Message-ID: 1223891774.001952.23718.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 870784 by hasso:

Fix compile on systems without XComposite.


 M  +4 -0      composite.cpp  


--- trunk/KDE/kdebase/workspace/kwin/composite.cpp #870783:870784
@@ -831,14 +831,18 @@
         {
         unredirect = true;
         kDebug( 1212 ) << "Unredirecting:" << this;
+#ifdef HAVE_XCOMPOSITE
         XCompositeUnredirectWindow( display(), frameId(), CompositeRedirectManual );
+#endif
         return true;
         }
     else if( !should && unredirect )
         {
         unredirect = false;
         kDebug( 1212 ) << "Redirecting:" << this;
+#ifdef HAVE_XCOMPOSITE
         XCompositeRedirectWindow( display(), frameId(), CompositeRedirectManual );
+#endif
         discardWindowPixmap();
         return true;
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

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