Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Remove call to draw in resize
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
da6f17e
..
6371167
100644
(file)
--- 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);
}