summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-paste.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /x11-terms/xterm/files/xterm-ds-paste.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
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))) {