diff --git a/st.c b/st.c index e1e509e..23b1467 100644 --- a/st.c +++ b/st.c @@ -1274,6 +1274,8 @@ xsetsel(char *str, Time t) XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) selclear(0); + + clipcopy(NULL); } void