summaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
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