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,