summaryrefslogtreecommitdiff
path: root/recipes/rxvt-unicode/rxvt-unicode-7.9/xwc.patch
blob: fbab74aa3d3a850d7be4eb5331625d5ff47120e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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;