Browse Source

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(-)
master
Roberto E. Vargas Caballero 12 years ago
parent
commit
58a57a2305
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      st.c

+ 1
- 2
st.c View File

@ -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);
}


Loading…
Cancel
Save