compile without Xfixes extension

svn path=/trunk/KDE/kdebase/workspace/; revision=661762
This commit is contained in:
Harri Porten 2007-05-06 14:38:28 +00:00
parent da80cba35c
commit 1768b04b53
4 changed files with 4 additions and 4 deletions

View file

@ -73,7 +73,7 @@ void Workspace::setupCompositing()
scene = new SceneBasic( this );
kDebug( 1212 ) << "X compositing" << endl;
break;
#ifdef HAVE_XRENDER
#if defined(HAVE_XRENDER) && defined(HAVE_XFIXES)
case 'X':
scene = new SceneXrender( this );
kDebug( 1212 ) << "XRender compositing" << endl;

View file

@ -552,7 +552,7 @@ void EffectsHandlerImpl::reserveElectricBorderSwitching( bool reserve )
unsigned long EffectsHandlerImpl::xrenderBufferPicture()
{
#ifdef HAVE_XRENDER
#if defined(HAVE_XRENDER) && defined(HAVE_XFIXES)
if( SceneXrender* s = dynamic_cast< SceneXrender* >( scene ))
return s->bufferPicture();
#endif

View file

@ -29,7 +29,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include "scene_xrender.h"
#ifdef HAVE_XRENDER
#if defined(HAVE_XRENDER) && defined(HAVE_XFIXES)
#include "toplevel.h"
#include "client.h"

View file

@ -15,7 +15,7 @@ License. See the file "COPYING" for the exact licensing terms.
#include "scene.h"
#ifdef HAVE_XRENDER
#if defined(HAVE_XRENDER) && defined(HAVE_XFIXES)
#include <X11/extensions/Xrender.h>
namespace KWin