From b875df5b982dc697fe4a7bc34b8cbc0676f1d115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sun, 2 Apr 2023 03:45:17 +0200 Subject: patches/rxvt_unicode-9.22.local.patch: disable Xrender support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/rxvt_unicode-9.22.local.patch | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 patches/rxvt_unicode-9.22.local.patch diff --git a/patches/rxvt_unicode-9.22.local.patch b/patches/rxvt_unicode-9.22.local.patch new file mode 100644 index 00000000..a81b6e4e --- /dev/null +++ b/patches/rxvt_unicode-9.22.local.patch @@ -0,0 +1,39 @@ +diff -ru rxvt-unicode-9.22.orig/src/rxvtperl.xs rxvt-unicode-9.22/src/rxvtperl.xs +--- rxvt-unicode-9.22.orig/src/rxvtperl.xs 2015-06-04 18:38:04.000000000 +0200 ++++ rxvt-unicode-9.22/src/rxvtperl.xs 2023-04-02 03:42:14.101495245 +0200 +@@ -940,7 +940,7 @@ + const_iv (XIMVisibleToForward), + const_iv (XIMVisibleToBackword), + const_iv (XIMVisibleToCenter), +-#if XRENDER ++#if 0 + const_iv (PictStandardARGB32), + const_iv (PictStandardRGB24), + const_iv (PictStandardA8), +diff -ru rxvt-unicode-9.22.orig/src/rxvttoolkit.C rxvt-unicode-9.22/src/rxvttoolkit.C +--- rxvt-unicode-9.22.orig/src/rxvttoolkit.C 2015-10-11 18:23:17.000000000 +0200 ++++ rxvt-unicode-9.22/src/rxvttoolkit.C 2023-04-02 03:41:59.813495158 +0200 +@@ -491,7 +491,7 @@ + #endif + + flags = 0; +-#if XRENDER ++#if 0 + int major, minor; + if (XRenderQueryVersion (dpy, &major, &minor)) + if (major > 0 || (major == 0 && minor >= 11)) +diff -ru rxvt-unicode-9.22.orig/src/rxvt.h rxvt-unicode-9.22/src/rxvt.h +--- rxvt-unicode-9.22.orig/src/rxvt.h 2015-06-17 13:57:42.000000000 +0200 ++++ rxvt-unicode-9.22/src/rxvt.h 2023-04-02 03:33:44.070672503 +0200 +@@ -76,11 +76,6 @@ + # include + #endif + +-#if XRENDER && (HAVE_PIXBUF || ENABLE_TRANSPARENCY) +-# define HAVE_BG_PIXMAP 1 +-# define HAVE_IMG 1 +-#endif +- + #if HAVE_BG_PIXMAP + # if HAVE_PIXBUF + # define BG_IMAGE_FROM_FILE 1 -- cgit v1.2.3