diff options
author | Roberto E. Vargas Caballero | 2012-09-16 14:02:35 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero | 2012-09-16 14:02:35 +0200 |
commit | 58a57a23051deba7c77901c9971d839a0db05db0 (patch) | |
tree | 8635cbc13fd9824fcb5bf22915c5e1908f44faf8 | |
parent | 2257932261375d663aa5b99ce4592499470ab06a (diff) | |
download | st-58a57a23051deba7c77901c9971d839a0db05db0.tar.gz st-58a57a23051deba7c77901c9971d839a0db05db0.tar.xz st-58a57a23051deba7c77901c9971d839a0db05db0.zip |
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); } |