summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm215-ds-copy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/xterm/files/xterm215-ds-copy.patch')
-rw-r--r--x11-terms/xterm/files/xterm215-ds-copy.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-terms/xterm/files/xterm215-ds-copy.patch b/x11-terms/xterm/files/xterm215-ds-copy.patch
new file mode 100644
index 0000000..2029430
--- /dev/null
+++ b/x11-terms/xterm/files/xterm215-ds-copy.patch
@@ -0,0 +1,36 @@
+diff -dPNur xterm-215/button.c xterm-215-new/button.c
+--- xterm-215/button.c 2006-07-25 01:12:23.000000000 +0500
++++ xterm-215-new/button.c 2006-07-25 01:13:31.000000000 +0500
+@@ -3121,28 +3121,28 @@
+ }
+ }
+ #if OPT_WIDE_CHARS
+- else if (screen->wide_chars && *target == XA_STRING) {
++ else if (screen->utf8_mode && *target == XA_STRING) {
+ TRACE(("ConvertSelection XA_STRING - wide\n"));
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,
+ Xutf8TextListToTextProperty,
+ XStringStyle);
+- } else if (screen->wide_chars && *target == XA_UTF8_STRING(d)) {
++ } else if (screen->utf8_mode && *target == XA_UTF8_STRING(d)) {
+ TRACE(("ConvertSelection XA_UTF8_STRING(d) - wide\n"));
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,
+ Xutf8TextListToTextProperty,
+ XUTF8StringStyle);
+- } else if (screen->wide_chars && *target == XA_TEXT(d)) {
++ } else if (screen->utf8_mode && *target == XA_TEXT(d)) {
+ TRACE(("ConvertSelection XA_TEXT(d) - wide\n"));
+ result =
+ _ConvertSelectionHelper(w,
+ type, value, length, format,
+ Xutf8TextListToTextProperty,
+ XStdICCTextStyle);
+- } else if (screen->wide_chars && *target == XA_COMPOUND_TEXT(d)) {
++ } else if (screen->utf8_mode && *target == XA_COMPOUND_TEXT(d)) {
+ TRACE(("ConvertSelection XA_COMPOUND_TEXT(d) - wide\n"));
+ result =
+ _ConvertSelectionHelper(w,