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