allowing swap() for first master client
This commit is contained in:
		
							parent
							
								
									e9cfae7aba
								
							
						
					
					
						commit
						6c767072a3
					
				
							
								
								
									
										20
									
								
								view.c
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								view.c
									
									
									
									
									
								
							| @ -260,14 +260,14 @@ zoom(Arg *arg) { | |||||||
| 	for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) | 	for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) | ||||||
| 		n++; | 		n++; | ||||||
| 
 | 
 | ||||||
| 	c = sel; | 	if((c = sel) == nexttiled(clients)) | ||||||
| 	if((arrange != dofloat) && c != nexttiled(clients)) { | 		if(!(c = nexttiled(c->next))) | ||||||
| 		detach(c); | 			return; | ||||||
| 		if(clients) | 	detach(c); | ||||||
| 			clients->prev = c; | 	if(clients) | ||||||
| 		c->next = clients; | 		clients->prev = c; | ||||||
| 		clients = c; | 	c->next = clients; | ||||||
| 		focus(c); | 	clients = c; | ||||||
| 		arrange(); | 	focus(c); | ||||||
| 	} | 	arrange(); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user