summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-paste-278.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/xterm/files/xterm-ds-paste-278.patch')
-rw-r--r--x11-terms/xterm/files/xterm-ds-paste-278.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-terms/xterm/files/xterm-ds-paste-278.patch b/x11-terms/xterm/files/xterm-ds-paste-278.patch
new file mode 100644
index 0000000..75b2d3a
--- /dev/null
+++ b/x11-terms/xterm/files/xterm-ds-paste-278.patch
@@ -0,0 +1,12 @@
+diff -dPNur xterm-278/button.c xterm-278-ds/button.c
+--- xterm-278/button.c 2012-01-07 03:00:35.000000000 +0100
++++ xterm-278-ds/button.c 2012-01-22 07:39:01.000000000 +0100
+@@ -1989,7 +1989,7 @@
+ text_prop.nitems));
+
+ #if OPT_WIDE_CHARS
+- if (XSupportsLocale() && screen->wide_chars) {
++ if (XSupportsLocale() && screen->utf8_mode) {
+ if (*type == XA_UTF8_STRING(dpy) ||
+ *type == XA_STRING ||
+ *type == XA_COMPOUND_TEXT(dpy)) {