mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			517 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			517 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef BACKEND_NOOP_H
 | |
| #define BACKEND_NOOP_H
 | |
| 
 | |
| #include <wlr/backend/noop.h>
 | |
| #include <wlr/backend/interface.h>
 | |
| 
 | |
| struct wlr_noop_backend {
 | |
| 	struct wlr_backend backend;
 | |
| 	struct wl_display *display;
 | |
| 	struct wl_list outputs;
 | |
| 	size_t last_output_num;
 | |
| 	bool started;
 | |
| 
 | |
| 	struct wl_listener display_destroy;
 | |
| };
 | |
| 
 | |
| struct wlr_noop_output {
 | |
| 	struct wlr_output wlr_output;
 | |
| 
 | |
| 	struct wlr_noop_backend *backend;
 | |
| 	struct wl_list link;
 | |
| };
 | |
| 
 | |
| struct wlr_noop_backend *noop_backend_from_backend(
 | |
| 	struct wlr_backend *wlr_backend);
 | |
| 
 | |
| #endif
 | 
