diff --git a/x.c b/x.c index 120e495..647ed1b 100644 --- a/x.c +++ b/x.c @@ -673,6 +673,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