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();