JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Clear X window in tsetreset()
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 24 Sep 2012 08:26:50 +0000 (10:26 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 24 Sep 2012 08:26:50 +0000 (10:26 +0200)
commitb6cfff16254bb9014f27ff4c5c9e49953ee91735
treee2eee119e45c70e407b561824f546eba204698fb
parent21a0c4a2e08ede1d04c472497db7d9aef644d00c
Clear X window in tsetreset()

tsetreset() is called when it is necessary a full initialization of the
terminal, so it also should clean the full X window and not only the
terminal content. It is necessary change the order of the
initialization in main(), and put xinit before of tnew(), because tnew()
calls to tsetreset(), and  this can cause a call to xreset() with
incorrect values.
---
 st.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
st.c