and another fix...
This commit is contained in:
		
							parent
							
								
									0fb1842fd0
								
							
						
					
					
						commit
						18be893b66
					
				
							
								
								
									
										2
									
								
								client.c
								
								
								
								
							
							
						
						
									
										2
									
								
								client.c
								
								
								
								
							| 
						 | 
					@ -209,7 +209,7 @@ manage(Window w, XWindowAttributes *wa)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	diff = sw - c->fw;
 | 
						diff = sw - c->fw;
 | 
				
			||||||
	c->fx = random() % (diff ? diff : 1);
 | 
						c->fx = random() % (diff ? diff : 1);
 | 
				
			||||||
	diff = sh - c->fh;
 | 
						diff = sh - c->fh - bh;
 | 
				
			||||||
	c->fy = random() % (diff ? diff : 1);
 | 
						c->fy = random() % (diff ? diff : 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	c->border = 1;
 | 
						c->border = 1;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue