reducing focus calls (sanders patch)
This commit is contained in:
		
							
								
								
									
										10
									
								
								view.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								view.c
									
									
									
									
									
								
							@@ -68,9 +68,8 @@ dofloat(Arg *arg)
 | 
				
			|||||||
		else
 | 
							else
 | 
				
			||||||
			ban(c);
 | 
								ban(c);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if(!(fc = sel) || !isvisible(fc))
 | 
						if(!sel || !isvisible(sel))
 | 
				
			||||||
		fc = getnext(clients);
 | 
							focus(getnext(clients));
 | 
				
			||||||
	focus(fc);
 | 
					 | 
				
			||||||
	restack();
 | 
						restack();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -131,9 +130,8 @@ dotile(Arg *arg)
 | 
				
			|||||||
		else
 | 
							else
 | 
				
			||||||
			ban(c);
 | 
								ban(c);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if(!(fc = sel) || !isvisible(fc))
 | 
						if(!sel || !isvisible(sel))
 | 
				
			||||||
		fc = getnext(clients);
 | 
							focus(getnext(clients));
 | 
				
			||||||
	focus(fc);
 | 
					 | 
				
			||||||
	restack();
 | 
						restack();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user