Ian: what is your usecase?  You jumped into the technical issues 
immediately, but as far as I can tell, you haven't actually explained 
what you're trying to accomplish.

FTR, I agree with Klaus that I would be frustrated if selecting images 
in geeqie would blow away my X selection buffer, specifically because my 
only reason to select text is to copy it, but there are other reasons to 
select images in geeqie.

For instance my most common reason to select images in geeqie is to just 
be able to compare similar images — if you have a selection active, then 
hitting "next image" will only cycle through the selected images.

--xsdg

On 07/14/2014 02:13 AM, Ian Zimmerman wrote:
> Klaus Ethgen <Klaus+geekie@...> writes:
>
> Ian> You're right that simply changing the current code from
> Ian> GDK_SELECTION_PRIMARY to GDK_SELECTION_CLIPBOARD would break your
> Ian> usage while fixing mine.  It would still be the right thing to do
> Ian> IMO because of the convention.  But we can keep the cake and eat it
> Ian> if we add new hooks on selection change events, calling back the
> Ian> current code with GDK_SELECTION_PRIMARY.  How's that?
>
> Klaus> You mean just adding also to put the stuff to the other
> Klaus> clipboard? Maybe also to the third one too?
> Klaus> (GDK_SELECTION_SECONDARY, I think)
>
> Not at the same places/times.  I mean setting GDK_SELECTION_PRIMARY _as
> soon as the thing is selected_.  That means setting a new callback in
> each window where it makes sense on an event like "selchange" or
> something (not sure how Gtk spells it).  So a file name would be copied
> as soon as you click on one in the file list, for example.
>
> This is the right thing to do according to my reading of the doc, at least.
>
> Ian> I can make a patch.  It probably won't be trivially short; where do
> Ian> you want it posted?
>
> Klaus> Here would be great. Or fork the repo on gitorious and create a
> Klaus> merge request.
>
> Ok, looking at the code it's going to be a bit more challenge than I
> thought, but I am giving it a try.  If you think I should.
>
> Ian.
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck&#174;
> Code Sight&#153; - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Geeqie-devel mailing list
> Geeqie-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geeqie-devel
>


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck&#174;
Code Sight&#153; - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to