mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	check if a client is resizing before checking if it's visible
It's not like it's noticeable, but theoretically this is faster
This commit is contained in:
		
							parent
							
								
									5347ed663d
								
							
						
					
					
						commit
						6d0e3a5198
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1834,7 +1834,7 @@ rendermon(struct wl_listener *listener, void *data)
 | 
			
		|||
	/* Render if no XDG clients have an outstanding resize and are visible on
 | 
			
		||||
	 * this monitor. */
 | 
			
		||||
	wl_list_for_each(c, &clients, link)
 | 
			
		||||
		if (client_is_rendered_on_mon(c, m) && (!c->isfloating && c->resize) && !client_is_stopped(c))
 | 
			
		||||
		if (c->resize && !c->isfloating && client_is_rendered_on_mon(c, m) && !client_is_stopped(c))
 | 
			
		||||
			goto skip;
 | 
			
		||||
	if (!wlr_scene_output_commit(m->scene_output))
 | 
			
		||||
		return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue