--- rxvt-unicode-7.7/src/screen.C.orig 2006-05-11 14:48:12.000000000 +0100 +++ rxvt-unicode-7.7/src/screen.C 2006-05-11 14:49:37.000000000 +0100 @@ -3061,7 +3061,7 @@ return false; } -#if 0 +#if HAVE_XWC XTextProperty ct; if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0) @@ -3628,9 +3628,11 @@ } else #endif +#if HAVE_XWC if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) freect = 1; else +#endif { /* if we failed to convert then send it raw */ ct.value = (unsigned char *)cl;