summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-10-29 19:18:21 +0100
committerKarel Kočí <cynerd@email.cz>2017-10-29 19:18:21 +0100
commitbd32baecf7a4a0de2ed4a802e6f38d400337a240 (patch)
tree3862dca8ebeccc898ed36b39e28370aa94c4c2d5
parent723ff26c3618cf4db1ae34688509cbcdfed1412f (diff)
downloadsurf-bd32baecf7a4a0de2ed4a802e6f38d400337a240.tar.gz
surf-bd32baecf7a4a0de2ed4a802e6f38d400337a240.tar.bz2
surf-bd32baecf7a4a0de2ed4a802e6f38d400337a240.zip
Change used clipboard
-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);
}
}