summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 2b54e3c..b76f19c 100644
--- a/surf.c
+++ b/surf.c
@@ -1818,11 +1818,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);
}
}