mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	This allows configuring a headless fallback output that is automatically created whenever there is no other output around. It is destroyed when a new output is discovered. It can be enabled by setting the environment variable LABWC_FALLBACK_OUTPUT to the desired output name. The feature benefits applications like wayvnc the most as there is always an output available to connect to. Co-Authored-By: Simon Long <simon@raspberrypi.com>
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			399 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			399 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0-only */
 | 
						|
#ifndef LABWC_OUTPUT_VIRTUAL_H
 | 
						|
#define LABWC_OUTPUT_VIRTUAL_H
 | 
						|
 | 
						|
struct server;
 | 
						|
struct wlr_output;
 | 
						|
 | 
						|
void output_virtual_add(struct server *server, const char *output_name,
 | 
						|
		struct wlr_output **store_wlr_output);
 | 
						|
void output_virtual_remove(struct server *server, const char *output_name);
 | 
						|
void output_virtual_update_fallback(struct server *server);
 | 
						|
 | 
						|
#endif
 |