mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	remove comment
wlr_output_layout_get_box internally calls wlr_output_effective_resolution
This commit is contained in:
		
							parent
							
								
									c9f92bdd0e
								
							
						
					
					
						commit
						1473d03293
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -568,8 +568,6 @@ arrangelayers(Monitor *m)
 | 
			
		|||
	arrangelayer(m, &m->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND],
 | 
			
		||||
			&usable_area, true);
 | 
			
		||||
 | 
			
		||||
	/* XXX does wlr_output_effective_resolution return the same dimensions
 | 
			
		||||
	   as wlr_output_layout_get_box which is used to set m->m ? */
 | 
			
		||||
	if (memcmp(&usable_area, &m->w, sizeof(struct wlr_box))) {
 | 
			
		||||
		memcpy(&m->w, &usable_area, sizeof(struct wlr_box));
 | 
			
		||||
		arrange(m);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue