From: Hiltjo Posthuma Date: Sat, 2 Sep 2017 11:52:33 +0000 (+0200) Subject: Revert "make clipboard patch obsolete" X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=commitdiff_plain;h=9c61f29bb7da237907e42875ebe7d0084e8ab1ac Revert "make clipboard patch obsolete" This reverts commit 77c51c5a6b16387f1792e23acbcf2080f790aa25. Having multiple clipboards are useful, for example for plumber scripts. I've discussed this on IRC and it is useful to have. --- diff --git a/x.c b/x.c index ab9593e..fbfd350 100644 --- a/x.c +++ b/x.c @@ -507,7 +507,6 @@ xsetsel(char *str, Time t) XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, t); if (XGetSelectionOwner(xw.dpy, XA_PRIMARY) != xw.win) selclear_(NULL); - xclipcopy(); } void