summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_x.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index bc2a534cd..1a30e80b7 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -2217,7 +2217,7 @@ int Fl_X11_Screen_Driver::ewmh_supported() {
return result;
}
-#if HAVE_XRENDER
+#if HAVE_XRENDER && (!FLTK_USE_CAIRO)
static int xrender_supported() {
int nop1, nop2;
fl_open_display();