Call xsetenv() in main process instead of child
authorDevin J. Pohly <djpohly@gmail.com>
Tue, 10 Oct 2017 15:30:23 +0000 (10:30 -0500)
committerDevin J. Pohly <djpohly@gmail.com>
Mon, 26 Feb 2018 03:53:24 +0000 (21:53 -0600)
commit3e44ee5569a81ba6f06e1ecd19bf0ceb1e97f18d
treef1ae3a269e18cdff7638c7fe9eabe9a2bbab24b8
parent1f24bde82b19912c080fbb4a0b153a248cd6c6ea
Call xsetenv() in main process instead of child

This makes xsetenv internal to x.c, and allows iso14755's external
command to use $WINDOWID instead of having to snprintf it again.  (The
same benefit will apply to the externalpipe patch.)  The xwinid function
is no longer needed.

Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
st.c
win.h
x.c