aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/rxvt-unicode/rxvt-unicode-9.07/xwc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rxvt-unicode/rxvt-unicode-9.07/xwc.patch')
-rw-r--r--recipes/rxvt-unicode/rxvt-unicode-9.07/xwc.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/rxvt-unicode/rxvt-unicode-9.07/xwc.patch b/recipes/rxvt-unicode/rxvt-unicode-9.07/xwc.patch
new file mode 100644
index 0000000000..fbab74aa3d
--- /dev/null
+++ b/recipes/rxvt-unicode/rxvt-unicode-9.07/xwc.patch
@@ -0,0 +1,23 @@
+--- rxvt-unicode-7.7/src/screen.C.orig 2006-05-11 14:48:12.000000000 +0100
++++ rxvt-unicode-7.7/src/screen.C 2006-05-11 14:49:37.000000000 +0100
+@@ -3061,7 +3061,7 @@
+ return false;
+ }
+
+-#if 0
++#if HAVE_XWC
+ XTextProperty ct;
+
+ if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
+@@ -3628,9 +3628,11 @@
+ }
+ else
+ #endif
++#if HAVE_XWC
+ if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
+ freect = 1;
+ else
++#endif
+ {
+ /* if we failed to convert then send it raw */
+ ct.value = (unsigned char *)cl;