[hackers] [st] Remove call to draw in resize || "Roberto E. Vargas Caballero"

From: <hg_AT_suckless.org>
Date: Sun, 16 Sep 2012 20:46:02 +0200 (CEST)

changeset: 311:da71fbe362ad
user: "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com>
date: Sun Sep 16 14:02:35 2012 +0200
files: st.c
description:
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 -r 1188b63402b9 -r da71fbe362ad st.c
--- a/st.c	Sun Sep 16 13:59:10 2012 +0200
+++ b/st.c	Sun Sep 16 14:02:35 2012 +0200
_AT_@ -2319,8 +2319,7 @@
 	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);
 }
Received on Sun Sep 16 2012 - 20:46:02 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 16 2012 - 20:48:06 CEST