Re: [dev] [surf] clipboard vs. primary

From: Peter John Hartman <peterjohnhartman_AT_gmail.com>
Date: Wed, 4 Nov 2009 16:02:35 -0500 (EST)

Hi,

Here's a patch that fixes what I think is a "problem". Others might
disagree. This allows me to paste into firefox the urls which I "yank" in
surf.

Peter

On Wed, 4 Nov 2009, Anders Andersson wrote:

> I've always thought there was something wrong with pasting in Firefox,
> maybe this is the reason. I'm not really using surf so I don't know
> what the problem is, care to explain?
>
> // Anders
>
>
> On Tue, Nov 3, 2009 at 4:20 PM, Peter John Hartman
> <peterjohnhartman_AT_gmail.com> wrote:
>> Hi,
>>
>> I find that Firefox and perhaps others like to "paste" from the CLIPBOARD
>> rather than PRIMARY.  Hence, in clipboard() in surf.c I have to duplicate
>> the following line (replacing PRIMARY with CLIPBOARD):
>>
>> gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY),
>> c->linkhover ? c->linkhover : geturi(c), -1)
>>
>> I'd like to see if we can just add this to vanilla?  Is there a reason not
>> (other than the extra line of code)?
>>
>> Peter
>>
>>
>

Received on Wed Nov 04 2009 - 21:02:35 UTC

This archive was generated by hypermail 2.2.0 : Wed Nov 04 2009 - 21:12:04 UTC