st-clipboard-20170501-5a10aca.diff - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       st-clipboard-20170501-5a10aca.diff (279B)
       ---
            1 diff --git a/x.c b/x.c
            2 index fbfd350..c122cad 100644
            3 --- a/x.c
            4 +++ b/x.c
            5 @@ -507,6 +507,9 @@ 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_(NULL);
            9 +
           10 +
           11 +        xclipcopy();
           12  }
           13  
           14  void