[patch] support xclipboard

Oswald Buddenhagen ossi at kde.org
Thu Mar 16 12:50:03 UTC 2006


On Thu, Mar 16, 2006 at 12:09:20PM +0200, vadim wrote:
> Patch for support XCLIPBOARD from mc.
>
cool.

> xclip can not insert into XCLIPBOARD under KDE.
> 
try disabling klipper and/or playing with its options.

as an option, your code should be able to use PRIMARY instead of
CLIPBOARD - that should help with some klipper configurations and sounds
like a desirable option in general.

your code uses array(s) with variable dimensions, afaics - that's not
portable. if mc already uses alloca, that's the way to go. otherwise
only malloc or statically sized arrays are left.

keep whitespace changes out of your patches.

ps: pavel, maybe just run
  perl -pi -e 's,[ \t]+$,,' `find -type f`
over the repo and commit it.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



More information about the mc-devel mailing list