sites

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

st-clipboard-0.8.3.diff (272B)


      1 diff --git a/x.c b/x.c
      2 index e5f1737..5cabd60 100644
      3 --- a/x.c
      4 +++ b/x.c
      5 @@ -673,6 +673,7 @@ 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 +	clipcopy(NULL);
     10  }
     11  
     12  void