mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	libseat provides all session functionality, so there is no longer need for a session backend abstraction. The libseat device ID, seat handle and event loop handle are moved to the main wlr_session and wlr_device structs.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			481 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			481 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef BACKEND_SESSION_SESSION_H
 | 
						|
#define BACKEND_SESSION_SESSION_H
 | 
						|
 | 
						|
struct wlr_session;
 | 
						|
 | 
						|
struct wlr_session *libseat_session_create(struct wl_display *disp);
 | 
						|
void libseat_session_destroy(struct wlr_session *base);
 | 
						|
int libseat_session_open_device(struct wlr_session *base, const char *path);
 | 
						|
void libseat_session_close_device(struct wlr_session *base, int fd);
 | 
						|
bool libseat_change_vt(struct wlr_session *base, unsigned vt);
 | 
						|
 | 
						|
void session_init(struct wlr_session *session);
 | 
						|
 | 
						|
#endif
 |