some cleanup
This commit is contained in:
		
							parent
							
								
									f77a3d0a62
								
							
						
					
					
						commit
						c19d4b2930
					
				| @ -71,14 +71,13 @@ setanselmgeoms(void) { | |||||||
| 	moy = my; | 	moy = my; | ||||||
| 	mow = mw; | 	mow = mw; | ||||||
| 	moh = mh; | 	moh = mh; | ||||||
| 
 |  | ||||||
| 	updatebarpos(); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
| anselmgeoms(const char *arg) { | anselmgeoms(const char *arg) { | ||||||
| 	setgeoms = setanselmgeoms; | 	setgeoms = setanselmgeoms; | ||||||
| 	setgeoms(); | 	setgeoms(); | ||||||
|  | 	updatebarpos(); | ||||||
| 	setlayout("[]|"); | 	setlayout("[]|"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -86,6 +85,7 @@ void | |||||||
| defgeoms(const char *arg) { | defgeoms(const char *arg) { | ||||||
| 	setgeoms = setdefaultgeoms; | 	setgeoms = setdefaultgeoms; | ||||||
| 	setgeoms(); | 	setgeoms(); | ||||||
|  | 	updatebarpos(); | ||||||
| 	setlayout("[]="); | 	setlayout("[]="); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										3
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								dwm.c
									
									
									
									
									
								
							| @ -408,6 +408,7 @@ configurenotify(XEvent *e) { | |||||||
| 
 | 
 | ||||||
| 	if(ev->window == root && (ev->width != sw || ev->height != sh)) { | 	if(ev->window == root && (ev->width != sw || ev->height != sh)) { | ||||||
| 		setgeoms(); | 		setgeoms(); | ||||||
|  | 		updatebarpos(); | ||||||
| 		arrange(); | 		arrange(); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| @ -1415,8 +1416,6 @@ setdefaultgeoms(void) { | |||||||
| 	moy = wy; | 	moy = wy; | ||||||
| 	mow = ww; | 	mow = ww; | ||||||
| 	moh = wh; | 	moh = wh; | ||||||
| 
 |  | ||||||
| 	updatebarpos(); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | void | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R Garbe
						Anselm R Garbe