allowing swap() for first master client
This commit is contained in:
		
							parent
							
								
									e9cfae7aba
								
							
						
					
					
						commit
						6c767072a3
					
				
							
								
								
									
										6
									
								
								view.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								view.c
									
									
									
									
									
								
							| @ -260,8 +260,9 @@ 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))) | ||||||
|  | 			return; | ||||||
| 	detach(c); | 	detach(c); | ||||||
| 	if(clients) | 	if(clients) | ||||||
| 		clients->prev = c; | 		clients->prev = c; | ||||||
| @ -269,5 +270,4 @@ zoom(Arg *arg) { | |||||||
| 	clients = c; | 	clients = c; | ||||||
| 	focus(c); | 	focus(c); | ||||||
| 	arrange(); | 	arrange(); | ||||||
| 	} |  | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user