st-clipboard-20180309-c5ba9c0.diff (271B)
1 diff --git a/x.c b/x.c 2 index 13fa9f4..88fd341 100644 3 --- a/x.c 4 +++ b/x.c 5 @@ -624,6 +624,8 @@ 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 + 10 + xclipcopy(); 11 } 12 13 void