tAdding Evan Gates' patch. - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1d019cf8af6ffa2cd0f6d0bd9b6344e4924bb510
(DIR) parent f347b9f336fc45d4a880db70a9133dc68109db7c
(HTM) Author: Enno Boland (tox) <tox@s01.de>
Date: Mon, 26 Oct 2009 22:02:21 +0100
Adding Evan Gates' patch.
Diffstat:
M surf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -176,7 +176,7 @@ clipboard(Client *c, const Arg *arg) {
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