Nedit & KDE loss of selection problems

Scott Tringali scott.tringali at totalviewtech.com
Tue Jul 31 23:07:15 CEST 2007


Joerg Fischer wrote:

> shows, there is no need of changing the buffer, but just to
> temporarily lose the selection.  How can I do this with gedit? 
> Selecting and deselecting by hand wouldn't be fast enough, I guess.

I wonder if this code is relevant - we are giving up the selection when 
it's empty.  Maybe that's enough for klipper to think that nobody owns 
it?  Maybe we can just continue to own it, even though it's empty.

>     /* If we own the selection and the selection is now empty, give it up */
>     if (isOwner && !selected) {
>         XtDisownSelection((Widget)w, XA_PRIMARY, time);
>         w->text.selectionOwner = False;
>         return;
>     }



More information about the Develop mailing list