summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-copy-243.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-copy-243.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-copy-243.patch')
-rw-r--r--x11-terms/xterm/files/xterm-ds-copy-243.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-terms/xterm/files/xterm-ds-copy-243.patch b/x11-terms/xterm/files/xterm-ds-copy-243.patch
new file mode 100644
index 0000000..ca489b6
--- /dev/null
+++ b/x11-terms/xterm/files/xterm-ds-copy-243.patch
@@ -0,0 +1,36 @@
+diff -dPNur xterm-243/button.c xterm-243-copy/button.c
+--- xterm-243/button.c 2009-03-27 01:00:56.000000000 +0100
++++ xterm-243-copy/button.c 2009-06-14 05:41:44.000000000 +0200
+@@ -3475,28 +3475,28 @@
+ }
+ }
+ #if OPT_WIDE_CHARS
+- else if (screen->wide_chars && *target == XA_STRING) {
++ else if (screen->utf8_mode && *target == XA_STRING) {
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,
+ Xutf8TextListToTextProperty,
+ XStringStyle);
+ TRACE(("...Xutf8TextListToTextProperty:%d\n", result));
+- } else if (screen->wide_chars && *target == XA_UTF8_STRING(dpy)) {
++ } else if (screen->utf8_mode && *target == XA_UTF8_STRING(dpy)) {
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,
+ Xutf8TextListToTextProperty,
+ XUTF8StringStyle);
+ TRACE(("...Xutf8TextListToTextProperty:%d\n", result));
+- } else if (screen->wide_chars && *target == XA_TEXT(dpy)) {
++ } else if (screen->utf8_mode && *target == XA_TEXT(dpy)) {
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,
+ Xutf8TextListToTextProperty,
+ XStdICCTextStyle);
+ TRACE(("...Xutf8TextListToTextProperty:%d\n", result));
+- } else if (screen->wide_chars && *target == XA_COMPOUND_TEXT(dpy)) {
++ } else if (screen->utf8_mode && *target == XA_COMPOUND_TEXT(dpy)) {
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,