| st-clipboard-20170802-e2ee5ee.diff - sites - public wiki contents of suckless.o… | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| Refs | |
| --- | |
| st-clipboard-20170802-e2ee5ee.diff (280B) | |
| --- | |
| 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 + clipcopy(NULL); | |
| 11 } | |
| 12 | |
| 13 void |