1Upstream-Status: Pending 2 3diff -ruN rxvt-unicode-9.10-orig//src/screen.C rxvt-unicode-9.10/src/screen.C 4--- rxvt-unicode-9.10-orig//src/screen.C 2011-04-19 13:34:01.327664984 +0800 5+++ rxvt-unicode-9.10/src/screen.C 2011-04-19 13:34:47.037665001 +0800 6@@ -3152,7 +3152,7 @@ 7 return false; 8 } 9 10-#if 0 11+#if HAVE_XWC 12 XTextProperty ct; 13 14 if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0) 15@@ -3734,9 +3734,11 @@ 16 } 17 else 18 #endif 19+#ifdef HAVE_XWC 20 if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) 21 freect = 1; 22 else 23+#endif 24 { 25 /* if we failed to convert then send it raw */ 26 ct.value = (unsigned char *)cl; 27