made tile simplier
This commit is contained in:
		
							parent
							
								
									77044e8765
								
							
						
					
					
						commit
						a200c39635
					
				
							
								
								
									
										5
									
								
								tile.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								tile.c
									
									
									
									
									
								
							| @ -39,10 +39,7 @@ tile(void) { | |||||||
| 
 | 
 | ||||||
| 	nx = wax; | 	nx = wax; | ||||||
| 	ny = way; | 	ny = way; | ||||||
| 	for(i = 0, c = clients; c; c = c->next) | 	for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) { | ||||||
| 		if(isvisible(c)) { |  | ||||||
| 			if(c->isfloating) |  | ||||||
| 				continue; |  | ||||||
| 		c->ismax = False; | 		c->ismax = False; | ||||||
| 		if(i == 0) { /* master */ | 		if(i == 0) { /* master */ | ||||||
| 			nw = mw - 2 * c->border; | 			nw = mw - 2 * c->border; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user