-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 275da06fdb7bf7e3ec67aae12e538a0940b68d8d: path_to: revision_to:
commit 275da06fdb7bf7e3ec67aae12e538a0940b68d8d Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Sun Nov 2 15:52:39 2014 +0000 Require Render >= 0.11. diff --git a/configure.ac b/configure.ac
--- a/configure.ac +++ b/configure.ac @@ -637,11 +637,23 @@ if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then fi if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then - LIBS="$LIBS -lm" - AC_DEFINE(XRENDER, 1, Define to enable xrender support) + AC_MSG_CHECKING(for Render >= 0.11) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +#include <X11/extensions/Xrender.h> +#if RENDER_MAJOR == 0 && RENDER_MINOR <= 10 +error +#endif +]])],[],[support_image=no]) + if test x$support_image = xyes; then + AC_MSG_RESULT(ok) + LIBS="$LIBS -lm" + AC_DEFINE(XRENDER, 1, Define to enable xrender support) - if test x$support_inheritpixmap = xyes; then - AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) + if test x$support_inheritpixmap = xyes; then + AC_DEFINE(ENABLE_TRANSPARENCY, 1, Define if you want your background to use the parent window background) + fi + else + AC_MSG_RESULT(no) fi fi diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C
--- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -492,15 +492,10 @@ bool rxvt_display::ref_init () #if XRENDER int major, minor; if (XRenderQueryVersion (dpy, &major, &minor)) - if (major > 0 || (major == 0 && minor >= 10)) + if (major > 0 || (major == 0 && minor >= 11)) { 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++)
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 10:35:17 2024