st

simple terminal

git clone https://9o.is/git/st.git

commit 312a1f441269713d6cd38ad7135b58cc001c9ff7
parent f3297379a5b29d4c2d1662b0e6cb7454a763b2c4
Author: Christoph Lohmann <20h@r-36.net>
Date:   Tue, 10 Mar 2015 21:58:32 +0100

St now does only set PRIMARY on selection.

http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt

Diffstat:
Mst.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/st.c b/st.c @@ -1079,16 +1079,9 @@ selrequest(XEvent *e) { void xsetsel(char *str) { - /* register the selection for both the clipboard and the primary */ - Atom clipboard; - free(sel.clip); sel.clip = str; - XSetSelectionOwner(xw.dpy, XA_PRIMARY, xw.win, CurrentTime); - - clipboard = XInternAtom(xw.dpy, "CLIPBOARD", 0); - XSetSelectionOwner(xw.dpy, clipboard, xw.win, CurrentTime); } void