summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2012-09-16 14:02:35 +0200
committerRoberto E. Vargas Caballero2012-09-16 14:02:35 +0200
commit58a57a23051deba7c77901c9971d839a0db05db0 (patch)
tree8635cbc13fd9824fcb5bf22915c5e1908f44faf8
parent2257932261375d663aa5b99ce4592499470ab06a (diff)
downloadst-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index da6f17e..6371167 100644
--- a/st.c
+++ b/st.c
@@ -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);
}