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 a5cc5a7..b42fb3d 100644
--- a/surf.c
+++ b/surf.c
@@ -1741,11 +1741,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);
}
}