mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	scaled-scene-buffer: use outputs_update signal
This fixes an issue with buffers not updating when an output is configured for a new scale. It also supports windows being on more than 2 outputs at once and in general simplifies the code.
This commit is contained in:
		
							parent
							
								
									1a6dd845a2
								
							
						
					
					
						commit
						6496773fd1
					
				
					 2 changed files with 13 additions and 56 deletions
				
			
		| 
						 | 
				
			
			@ -34,8 +34,7 @@ struct scaled_scene_buffer {
 | 
			
		|||
	/* cached wlr_buffers for each scale */
 | 
			
		||||
	struct wl_list cache;  /* struct scaled_buffer_cache_entry.link */
 | 
			
		||||
	struct wl_listener destroy;
 | 
			
		||||
	struct wl_listener output_enter;
 | 
			
		||||
	struct wl_listener output_leave;
 | 
			
		||||
	struct wl_listener outputs_update;
 | 
			
		||||
	const struct scaled_scene_buffer_impl *impl;
 | 
			
		||||
	/*
 | 
			
		||||
	 * Pointer to the per-implementation list of scaled-scene-buffers.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue