mirror of
				https://github.com/DreamMaoMao/maomaowm.git
				synced 2025-11-03 09:01:47 -05:00 
			
		
		
		
	opt: optimize visible client count
This commit is contained in:
		
							parent
							
								
									8c8fc72e20
								
							
						
					
					
						commit
						6573b4637b
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -1302,9 +1302,8 @@ void set_tagin_animation(Monitor *m, Client *c) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void set_arrange_visible(Monitor *m, Client *c, bool want_animation) {
 | 
					void set_arrange_visible(Monitor *m, Client *c, bool want_animation) {
 | 
				
			||||||
	if (!client_is_unmanaged(c) && !client_should_ignore_focus(c)) {
 | 
					
 | 
				
			||||||
	m->visible_clients++;
 | 
						m->visible_clients++;
 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (ISTILED(c)) {
 | 
						if (ISTILED(c)) {
 | 
				
			||||||
		m->visible_tiling_clients++;
 | 
							m->visible_tiling_clients++;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue