Adding Evan Gates' patch.

This commit is contained in:
Enno Boland (tox) 2009-10-26 22:02:21 +01:00
parent f347b9f336
commit 1d019cf8af

2
surf.c
View File

@ -176,7 +176,7 @@ clipboard(Client *c, const Arg *arg) {
if(paste) if(paste)
gtk_clipboard_request_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), pasteuri, c); gtk_clipboard_request_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), pasteuri, c);
else 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 void