summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 0f8b9c9..807e8dd 100644
--- a/surf.c
+++ b/surf.c
@@ -1735,11 +1735,11 @@ clipboard(Client *c, const Arg *a)
{
if (a->i) { /* load clipboard uri */
gtk_clipboard_request_text(gtk_clipboard_get(
- GDK_SELECTION_PRIMARY),
+ GDK_SELECTION_CLIPBOARD),
pasteuri, c);
} else { /* copy uri */
gtk_clipboard_set_text(gtk_clipboard_get(
- GDK_SELECTION_PRIMARY), c->targeturi
+ GDK_SELECTION_CLIPBOARD), c->targeturi
? c->targeturi : geturi(c), -1);
}
}