st
simple terminal
git clone https://9o.is/git/st.git
commit 250574159c47c71115dd297d816b0ab9e8dec87c parent 3feebe312529c054462df0a72d7b1e205b688773 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Thu, 19 Mar 2015 08:36:50 +0000 Merge remote-tracking branch 'origin/master' Diffstat:
| M | Makefile | | | 2 | +- |
| M | st.c | | | 2 | ++ |
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -34,7 +34,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p st-${VERSION} - @cp -R LICENSE Makefile README config.mk config.def.h st.info st.1 ${SRC} st-${VERSION} + @cp -R LICENSE Makefile README config.mk config.def.h st.info st.1 arg.h ${SRC} st-${VERSION} @tar -cf st-${VERSION}.tar st-${VERSION} @gzip st-${VERSION}.tar @rm -rf st-${VERSION} diff --git a/st.c b/st.c @@ -996,6 +996,8 @@ selnotify(XEvent *e) { ofs = 0; xsev = (XSelectionEvent *)e; + if (xsev->property == None) + return; do { if(XGetWindowProperty(xw.dpy, xw.win, xsev->property, ofs, BUFSIZ/4, False, AnyPropertyType,