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 | 58a57a23051deba7c77901c9971d839a0db05db0 (patch) | |
| tree | 8635cbc13fd9824fcb5bf22915c5e1908f44faf8 | |
| parent | 2257932261375d663aa5b99ce4592499470ab06a (diff) | |
| download | st-58a57a23051deba7c77901c9971d839a0db05db0.tar.gz 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) { | |||
| 2319 | row = (xw.h - 2*BORDER) / xw.ch; | 2319 | row = (xw.h - 2*BORDER) / xw.ch; |
| 2320 | if(col == term.col && row == term.row) | 2320 | if(col == term.col && row == term.row) |
| 2321 | return; | 2321 | return; |
| 2322 | if(tresize(col, row)) | 2322 | tresize(col, row); |
| 2323 | draw(); | ||
| 2324 | xresize(col, row); | 2323 | xresize(col, row); |
| 2325 | ttyresize(col, row); | 2324 | ttyresize(col, row); |
| 2326 | } | 2325 | } |
