From: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 16 Sep 2012 12:02:35 +0000 (+0200)
Subject: Remove call to draw in resize
X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=58a57a23051deba7c77901c9971d839a0db05db0;p=st.git

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(-)
---

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