diff --git a/x.c b/x.c index 652f3cc..4088d75 100644 --- a/x.c +++ b/x.c @@ -679,6 +679,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