]> Sergey Matveev's repositories - st.git/commit
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)
commit57e9f030599a76debe1efbca82c3500d127871ab
treee2eee119e45c70e407b561824f546eba204698fb
parent61ffa628ff39f45280b6c0a7bb9d11ade401c479
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