diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-16 14:02:35 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2012-09-16 14:02:35 +0200 |
commit | 7d54d35a95adca96a9d32454c93b089be4688921 (patch) | |
tree | 8635cbc13fd9824fcb5bf22915c5e1908f44faf8 | |
parent | 1c316bedceedb257ca66aa03adca2b0d2c8fda23 (diff) | |
download | st-7d54d35a95adca96a9d32454c93b089be4688921.tar.gz st-7d54d35a95adca96a9d32454c93b089be4688921.tar.bz2 |
Remove call to draw in resize
In previous commits draw was removed from all the X events, but I forgot do
it in resize.
---
st.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
-rw-r--r-- | st.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2319,8 +2319,7 @@ resize(XEvent *e) { row = (xw.h - 2*BORDER) / xw.ch; if(col == term.col && row == term.row) return; - if(tresize(col, row)) - draw(); + tresize(col, row); xresize(col, row); ttyresize(col, row); } |