Fix build without composite.

We really just need render and fixes here but.. some other day.
This commit is contained in:
Kim Woelders 2014-08-24 14:41:50 +02:00
parent ec30ace893
commit 55392259d5
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#include "list.h"
#include "xwin.h"
#include <X11/cursorfont.h>
#if USE_XRENDER
#if USE_COMPOSITE
#include <X11/extensions/Xfixes.h>
#include <X11/extensions/Xrender.h>
#endif
@ -46,7 +46,7 @@ struct _ecursor {
static LIST_HEAD(cursor_list);
#if USE_XRENDER
#if USE_COMPOSITE
/* Assuming we have XRenderCreateCursor (render >= 0.5) */
static EX_Cursor
ECreatePixmapCursor(EX_Pixmap cpmap, EX_Pixmap cmask, unsigned int w,