aboutsummaryrefslogtreecommitdiff
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 fae2e5a..c2fd352 100644
--- a/x.c
+++ b/x.c
@@ -677,6 +677,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