[hackers] [surf] Adding Evan Gates' patch. || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Mon, 26 Oct 2009 21:02:31 +0000 (UTC)

changeset: 156:a5c3c1ebe5c7
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Mon Oct 26 22:02:21 2009 +0100
files: surf.c
description:
Adding Evan Gates' patch.

diff -r 674fc4b74603 -r a5c3c1ebe5c7 surf.c
--- a/surf.c Mon Oct 26 22:01:44 2009 +0100
+++ b/surf.c Mon Oct 26 22:02:21 2009 +0100
@@ -176,7 +176,7 @@
         if(paste)
                 gtk_clipboard_request_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), pasteuri, c);
         else
- gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), geturi(c), -1);
+ gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), c->linkhover ? c->linkhover : geturi(c), -1);
 }
 
 void
Received on Mon Oct 26 2009 - 21:02:31 UTC

This archive was generated by hypermail 2.2.0 : Mon Oct 26 2009 - 21:12:08 UTC