On Sat, Apr 2, 2011 at 6:11 PM, Petr Sabata <[email protected]> wrote: > This patch adds UTF8 clipboard support via UTF8_STRING, if it's available. > This > is needed to correctly exchange UTF8 data with other applications.
ok
> - } else if(xsre->target == XA_STRING) {
> + } else if(xsre->target == seltarget || xsre->target == XA_STRING) {
Why is this necessary? Can't we just do:
} else if(xsre->target == seltarget) {
