summaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 22:35:45 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 22:35:45 +0200
commiteaffda9cb2d46f6796e85de0b5805f14273aeeb9 (patch)
tree86df7c4f267e923334c25e4e4859cb555b23f032 /x.c
parent80d348f1591b0e3bfc001fb5bc096d42600f3325 (diff)
Add clipboard patch
Diffstat (limited to 'x.c')
-rw-r--r--x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/x.c b/x.c
index 6c8a1d8..a8a42f5 100644
--- a/x.c
+++ b/x.c
@@ -689,6 +689,7 @@ setsel(char *str, Time t)
XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
selclear();
+ clipcopy(NULL);
}
void