mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	src/output.c: log when disabling adaptive_sync on a nested labwc
This commit is contained in:
		
							parent
							
								
									d69faffc4e
								
							
						
					
					
						commit
						7adf5533f9
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -518,11 +518,17 @@ verify_output_config_v1(const struct wlr_output_configuration_v1 *config)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (wlr_output_is_wl(head->state.output) && refresh != 0) {
 | 
								if (wlr_output_is_wl(head->state.output) && refresh != 0) {
 | 
				
			||||||
				/* Wayland backend does not support refresh rates */
 | 
									/* Wayland backend does not support refresh rates */
 | 
				
			||||||
				err_msg = "Wayland backend refresh rate unsupported";
 | 
									err_msg = "Wayland backend refresh rates unsupported";
 | 
				
			||||||
				goto custom_mode_failed;
 | 
									goto custom_mode_failed;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							if (wlr_output_is_wl(head->state.output)
 | 
				
			||||||
 | 
									&& !head->state.adaptive_sync_enabled) {
 | 
				
			||||||
 | 
								err_msg = "Wayland backend requires adaptive sync";
 | 
				
			||||||
 | 
								goto custom_mode_failed;
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/*
 | 
							/*
 | 
				
			||||||
		 * Ensure the new output state can be applied on
 | 
							 * Ensure the new output state can be applied on
 | 
				
			||||||
		 * its own and inform the client when it can not.
 | 
							 * its own and inform the client when it can not.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue