mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	output: Allow configuring scene without an output
This commit is contained in:
		
							parent
							
								
									38005bd854
								
							
						
					
					
						commit
						0da0d37f3d
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -229,7 +229,9 @@ void output_configure_scene(struct sway_output *output,
 | 
			
		|||
		// hack: don't call the scene setter because that will damage all outputs
 | 
			
		||||
		// We don't want to damage outputs that aren't our current output that
 | 
			
		||||
		// we're configuring
 | 
			
		||||
		if (output) {
 | 
			
		||||
			buffer->filter_mode = get_scale_filter(output, buffer);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		wlr_scene_buffer_set_opacity(buffer, opacity);
 | 
			
		||||
	} else if (node->type == WLR_SCENE_NODE_TREE) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue