Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[openembedded.git] / packages / rxvt-unicode / rxvt-unicode-7.9 / xwc.patch
1 --- rxvt-unicode-7.7/src/screen.C.orig  2006-05-11 14:48:12.000000000 +0100
2 +++ rxvt-unicode-7.7/src/screen.C       2006-05-11 14:49:37.000000000 +0100
3 @@ -3061,7 +3061,7 @@
4        return false;
5      }
6  
7 -#if 0
8 +#if HAVE_XWC
9    XTextProperty ct;
10  
11    if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
12 @@ -3628,9 +3628,11 @@
13          }
14        else
15  #endif
16 +#if HAVE_XWC
17        if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
18          freect = 1;
19        else
20 +#endif
21          {
22            /* if we failed to convert then send it raw */
23            ct.value = (unsigned char *)cl;