take bar into account
This commit is contained in:
		
							parent
							
								
									234b12eb73
								
							
						
					
					
						commit
						6bdef73a4f
					
				
							
								
								
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
									
									
									
									
								
							| @ -963,7 +963,7 @@ manage(Window w, XWindowAttributes *wa) { | |||||||
| 		if(c->y + c->h + 2 * c->bw > sy + sh) | 		if(c->y + c->h + 2 * c->bw > sy + sh) | ||||||
| 			c->y = sy + sh - c->h - 2 * c->bw; | 			c->y = sy + sh - c->h - 2 * c->bw; | ||||||
| 		c->x = MAX(c->x, sx); | 		c->x = MAX(c->x, sx); | ||||||
| 		c->y = MAX(c->y, sy); | 		c->y = MAX(c->y, by == 0 ? bh : sy); | ||||||
| 		c->bw = borderpx; | 		c->bw = borderpx; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anselm R Garbe
						Anselm R Garbe