From kde-commits Mon Oct 13 09:56:14 2008 From: Hasso Tepper Date: Mon, 13 Oct 2008 09:56:14 +0000 To: kde-commits Subject: KDE/kdebase/workspace/kwin Message-Id: <1223891774.001952.23718.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122389178501769 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; }