mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Generalize DPMS, remove DRM refs from example
This commit is contained in:
		
							parent
							
								
									03c9b46034
								
							
						
					
					
						commit
						fee409bd0a
					
				
					 10 changed files with 65 additions and 50 deletions
				
			
		| 
						 | 
				
			
			@ -7,12 +7,12 @@
 | 
			
		|||
 | 
			
		||||
struct wlr_output_impl {
 | 
			
		||||
	bool (*set_mode)(struct wlr_output_state *state, struct wlr_output_mode *mode);
 | 
			
		||||
	void (*enable)(struct wlr_output_state *state, bool enable);
 | 
			
		||||
	void (*destroy)(struct wlr_output_state *state);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct wlr_output *wlr_output_create(struct wlr_output_impl *impl,
 | 
			
		||||
		struct wlr_output_state *state);
 | 
			
		||||
 | 
			
		||||
void wlr_output_free(struct wlr_output *output);
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue