summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-paste.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/xterm/files/xterm-ds-paste.patch')
-rw-r--r--x11-terms/xterm/files/xterm-ds-paste.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-terms/xterm/files/xterm-ds-paste.patch b/x11-terms/xterm/files/xterm-ds-paste.patch
new file mode 100644
index 0000000..9d31268
--- /dev/null
+++ b/x11-terms/xterm/files/xterm-ds-paste.patch
@@ -0,0 +1,12 @@
+diff -dPNur xterm-172/button.c xterm-172-new/button.c
+--- xterm-172/button.c 2002-10-05 13:57:11.000000000 -0400
++++ xterm-172-new/button.c 2003-07-12 11:25:39.000000000 -0400
+@@ -1364,7 +1364,7 @@
+ text_prop.nitems = *length;
+
+ #if OPT_WIDE_CHARS
+- if (screen->wide_chars) {
++ if (screen->utf8_mode) {
+ if (*type == XA_UTF8_STRING(XtDisplay(w)) ||
+ *type == XA_STRING ||
+ *type == XA_COMPOUND_TEXT(XtDisplay(w))) {