mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	layer-shell: use usable_area when arranging non-exclusive layer surfaces
This commit is contained in:
		
							parent
							
								
									94cf3f1b17
								
							
						
					
					
						commit
						3d29e73e72
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -180,9 +180,6 @@ void arrange_layers(struct sway_output *output) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	// Arrange non-exlusive surfaces from top->bottom
 | 
			
		||||
	usable_area.x = usable_area.y = 0;
 | 
			
		||||
	wlr_output_effective_resolution(output->wlr_output,
 | 
			
		||||
			&usable_area.width, &usable_area.height);
 | 
			
		||||
	arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY],
 | 
			
		||||
			&usable_area, false);
 | 
			
		||||
	arrange_layer(output, &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue