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(-)
This commit is contained in:
		
							
								
								
									
										3
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								st.c
									
									
									
									
									
								
							| @@ -2319,8 +2319,7 @@ resize(XEvent *e) { | |||||||
| 	row = (xw.h - 2*BORDER) / xw.ch; | 	row = (xw.h - 2*BORDER) / xw.ch; | ||||||
| 	if(col == term.col && row == term.row) | 	if(col == term.col && row == term.row) | ||||||
| 		return; | 		return; | ||||||
| 	if(tresize(col, row)) | 	tresize(col, row); | ||||||
| 		draw(); |  | ||||||
| 	xresize(col, row); | 	xresize(col, row); | ||||||
| 	ttyresize(col, row); | 	ttyresize(col, row); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user