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