summaryrefslogtreecommitdiffstats
path: root/x11-terms/xterm/files/xterm-ds-copy.patch
blob: c866984731b9b67045bccd4129227045baa9fa64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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,