diff --git a/x.c b/x.c index 95f2e4c..7c9fe7c 100644 --- a/x.c +++ b/x.c @@ -689,6 +689,8 @@ setsel(char *str, Time t) XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) selclear(); + + xclipcopy(); } void