Adding Evan Gates' patch.
This commit is contained in:
parent
f347b9f336
commit
1d019cf8af
2
surf.c
2
surf.c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue