mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	fix adaptive sync fullscreen
This commit is contained in:
		
							parent
							
								
									785a34e8ad
								
							
						
					
					
						commit
						1b5af86402
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -810,9 +810,6 @@ output_remove_virtual(struct server *server, const char *output_name)
 | 
			
		|||
void
 | 
			
		||||
output_enable_adaptive_sync(struct wlr_output *output, bool enabled)
 | 
			
		||||
{
 | 
			
		||||
	if (output->pending.adaptive_sync_enabled == enabled) {
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
	wlr_output_enable_adaptive_sync(output, enabled);
 | 
			
		||||
	if (!wlr_output_test(output)) {
 | 
			
		||||
		wlr_output_enable_adaptive_sync(output, false);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue