diff options
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 8ca25201e..662e9e6b0 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2234,6 +2234,7 @@ int Fl_X::ewmh_supported() { } int Fl_X::xrender_supported() { +#if HAVE_XRENDER static int result = -1; if (result == -1) { @@ -2244,6 +2245,9 @@ int Fl_X::xrender_supported() { } return result; +#else + return 0; +#endif } extern Fl_Window *fl_xfocus; |
