applied Jukkas patch
This commit is contained in:
		
							parent
							
								
									59e65d1709
								
							
						
					
					
						commit
						39ae286861
					
				
							
								
								
									
										2
									
								
								client.c
								
								
								
								
							
							
						
						
									
										2
									
								
								client.c
								
								
								
								
							| 
						 | 
				
			
			@ -131,7 +131,7 @@ detach(Client *c) {
 | 
			
		|||
 | 
			
		||||
void
 | 
			
		||||
focus(Client *c) {
 | 
			
		||||
	if( !c && selscreen || c && !isvisible(c))
 | 
			
		||||
	if((!c && selscreen)|| (c && !isvisible(c)))
 | 
			
		||||
		for(c = stack; c && !isvisible(c); c = c->snext);
 | 
			
		||||
	if(sel && sel != c) {
 | 
			
		||||
		grabbuttons(sel, False);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue