sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

st-clipboard-0.6.diff (284B)


      1 diff --git a/st.c b/st.c
      2 index b89d094..6658e6a 100644
      3 --- a/st.c
      4 +++ b/st.c
      5 @@ -1155,6 +1155,8 @@ xsetsel(char *str, Time t) {
      6  	XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
      7  	if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
      8  		selclear(0);
      9 +
     10 +	clipcopy(NULL);
     11  }
     12  
     13  void