diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /x11-terms/xterm/files/xterm-ds-copy.patch | |
download | darklin4-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.patch')
-rw-r--r-- | x11-terms/xterm/files/xterm-ds-copy.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-terms/xterm/files/xterm-ds-copy.patch b/x11-terms/xterm/files/xterm-ds-copy.patch new file mode 100644 index 0000000..c866984 --- /dev/null +++ b/x11-terms/xterm/files/xterm-ds-copy.patch @@ -0,0 +1,33 @@ +diff -dPNur xterm-179/button.c xterm-179-new/button.c +--- xterm-179/button.c 2003-12-06 00:32:53.000000000 +0100 ++++ xterm-179-new/button.c 2003-12-06 00:31:36.000000000 +0100 +@@ -2481,25 +2481,25 @@ + result = True; + } + #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); +- } else if (screen->wide_chars && *target == XA_UTF8_STRING(d)) { ++ } else if (screen->utf8_mode && *target == XA_UTF8_STRING(d)) { + 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)) { + 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)) { + result = + _ConvertSelectionHelper(w, + type, value, length, format, |