Fwd: Re: [Xpert]XFIXES extension proposal

Lubos Lunak l.lunak at suse.cz
Thu Dec 5 09:45:26 GMT 2002


On Tuesday 03 of December 2002 21:29, Tim Jansen wrote:
> Maybe someone here can answer this question?
>
> ----------  Forwarded Message  ----------
>
> Subject: Re: [Xpert]XFIXES extension proposal
> Date: Tuesday 03 December 2002 21:10
> From: Juliusz Chroboczek <jch at pps.jussieu.fr>
> To: xpert at XFree86.Org
>
> KP> Applications like the KDE 'klipper' monitor selection contents to save
> KP> them and also perform actions based on them.  Right now, this happens
> by KP> having these clients contantly polling the selection.
>
> Why can't klipper take the ownership of the selection, as xclipboard
> does ?

 Because first version of klipper basically did only

 for(;;)
 {
 sleep(1);
 saved_string = QClipboard::text();
 }

 without any knowledge of the underlying X protocol (as far as I can say from 
the first 4 years old commit). Moreover, Klipper also monitors the PRIMARY 
selection, and it shouldn't take over this one of course.

 Also, this extension will help with properly enabling/disabling the Paste 
action in menus/toolbars/etc.

>
> (I'm not arguing against this extension, as I think that making
> client-visible state changes observable is a Good Thing.  Just idle
> curiosity.)

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/





More information about the kde-core-devel mailing list