diff --git a/x.c b/x.c index aa09997..f20121c 100644 --- a/x.c +++ b/x.c @@ -686,6 +686,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