summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2013-03-08 14:28:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:18:21 +0000
commitd8d263a2a49a2d3b979e93836b802234f25c50cc (patch)
treef5d9b07b406ad93cf1f20f709072c2b6f299341f /meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch
parent83409910dd3a31589ca9ea4172a70f0bcd877d8f (diff)
downloadpoky-d8d263a2a49a2d3b979e93836b802234f25c50cc.tar.gz
rxvt-unicode: Upgrade to v9.17
(From OE-Core rev: 8d6176880a9fa0aece85be23567312cb848c602e) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch')
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch
new file mode 100644
index 0000000000..16efeef49f
--- /dev/null
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.17/xwc.patch
@@ -0,0 +1,26 @@
1Upstream-Status: Pending
2
3diff -ruN rxvt-unicode-9.10-orig//src/screen.C rxvt-unicode-9.10/src/screen.C
4--- rxvt-unicode-9.10-orig//src/screen.C 2011-04-19 13:34:01.327664984 +0800
5+++ rxvt-unicode-9.10/src/screen.C 2011-04-19 13:34:47.037665001 +0800
6@@ -3152,7 +3152,7 @@
7 return false;
8 }
9
10-#if 0
11+#if HAVE_XWC
12 XTextProperty ct;
13
14 if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
15@@ -3734,9 +3734,11 @@
16 }
17 else
18 #endif
19+#ifdef HAVE_XWC
20 if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
21 freect = 1;
22 else
23+#endif
24 {
25 /* if we failed to convert then send it raw */
26 ct.value = (unsigned char *)cl;