tRemove call to draw in resize - st - [fork] customized build of st, the simple… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 58a57a23051deba7c77901c9971d839a0db05db0 | |
parent 2257932261375d663aa5b99ce4592499470ab06a | |
Author: Roberto E. Vargas Caballero <[email protected]> | |
Date: Sun, 16 Sep 2012 14:02:35 +0200 | |
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(-) | |
Diffstat: | |
M st.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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); | |
} |