--- rxvt-unicode/src/rxvttoolkit.C 2012/06/07 16:04:31 1.137 +++ rxvt-unicode/src/rxvttoolkit.C 2014/05/22 18:54:33 1.142 @@ -8,7 +8,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -68,7 +68,7 @@ "WM_LOCALE_NAME", "XIM_SERVERS", #endif -#if ENABLE_TRANSPARENCY +#if HAVE_IMG || ENABLE_PERL "_XROOTPMAP_ID", "ESETROOT_PMAP_ID", #endif @@ -492,25 +492,24 @@ #if XRENDER int major, minor; if (XRenderQueryVersion (dpy, &major, &minor)) - { - flags |= DISPLAY_HAS_RENDER; - - if (major > 0 || (major == 0 && minor >= 10)) - flags |= DISPLAY_HAS_RENDER_10; - - if (major > 0 || (major == 0 && minor >= 11)) - flags |= DISPLAY_HAS_RENDER_MUL; - - XFilters *filters = XRenderQueryFilters (dpy, root); - if (filters) - { - for (int i = 0; i < filters->nfilter; i++) - if (!strcmp (filters->filter[i], FilterConvolution)) - flags |= DISPLAY_HAS_RENDER_CONV; - - XFree (filters); - } - } + if (major > 0 || (major == 0 && minor >= 10)) + { + flags |= DISPLAY_HAS_RENDER; + +#if 0 + if (major > 0 || (major == 0 && minor >= 11)) + flags |= DISPLAY_HAS_RENDER_MUL; +#endif + + if (XFilters *filters = XRenderQueryFilters (dpy, root)) + { + for (int i = 0; i < filters->nfilter; i++) + if (!strcmp (filters->filter [i], FilterConvolution)) + flags |= DISPLAY_HAS_RENDER_CONV; + + XFree (filters); + } + } #endif int fd = XConnectionNumber (dpy);