sites

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

st-clipboard-0.8.1.diff (274B)


      1 diff --git a/x.c b/x.c
      2 index c343ba2..f2a4f65 100644
      3 --- a/x.c
      4 +++ b/x.c
      5 @@ -627,6 +627,8 @@ setsel(char *str, Time t)
      6  	XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t);
      7  	if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win)
      8  		selclear();
      9 +
     10 +	clipcopy(NULL);
     11  }
     12  
     13  void