Fixing the calculation of the base tty pixel size.
This commit is contained in:
		
							
								
								
									
										4
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								st.c
									
									
									
									
									
								
							| @@ -2182,8 +2182,8 @@ tresize(int col, int row) { | |||||||
|  |  | ||||||
| void | void | ||||||
| xresize(int col, int row) { | xresize(int col, int row) { | ||||||
| 	xw.tw = MAX(1, 2*borderpx + col * xw.cw); | 	xw.tw = MAX(1, col * xw.cw); | ||||||
| 	xw.th = MAX(1, 2*borderpx + row * xw.ch); | 	xw.th = MAX(1, row * xw.ch); | ||||||
|  |  | ||||||
| 	XftDrawChange(xw.draw, xw.buf); | 	XftDrawChange(xw.draw, xw.buf); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user