Fix the geometry handling.
This commit is contained in:
		
							parent
							
								
									4de64fa4d2
								
							
						
					
					
						commit
						44db38a5f8
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								st.1
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								st.1
									
										
									
									
									
								
							|  | @ -37,6 +37,9 @@ to use when st is run. | ||||||
| .TP | .TP | ||||||
| .BI \-g " geometry" | .BI \-g " geometry" | ||||||
| defines the X11 geometry string, which will fixate the height and width of st.  | defines the X11 geometry string, which will fixate the height and width of st.  | ||||||
|  | The form is [=][<width>{xX}<height>][{+-}<xoffset>{+-}<yoffset>]. See | ||||||
|  | .BR XParseGeometry (3) | ||||||
|  | for further details. | ||||||
| .TP | .TP | ||||||
| .BI \-o " file" | .BI \-o " file" | ||||||
| writes all the I/O to | writes all the I/O to | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								st.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								st.c
									
										
									
									
									
								
							|  | @ -3417,6 +3417,8 @@ run: | ||||||
| 	xinit(); | 	xinit(); | ||||||
| 	ttynew(); | 	ttynew(); | ||||||
| 	selinit(); | 	selinit(); | ||||||
|  | 	if(xw.isfixed) | ||||||
|  | 		cresize(xw.h, xw.w); | ||||||
| 	run(); | 	run(); | ||||||
| 
 | 
 | ||||||
| 	return 0; | 	return 0; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue