mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
backend/session: add linux device manager
This commit is contained in:
parent
905ebaa89a
commit
baf2e1852f
4 changed files with 323 additions and 7 deletions
15
include/backend/session/linux.h
Normal file
15
include/backend/session/linux.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef BACKEND_SESSION_LINUX_H
|
||||
#define BACKEND_SESSION_LINUX_H
|
||||
|
||||
#include "backend/session/session.h"
|
||||
|
||||
struct wlr_linux_device_manager {
|
||||
struct wlr_device_manager base;
|
||||
|
||||
int netlink_fd;
|
||||
struct wl_event_source *netlink_source;
|
||||
};
|
||||
|
||||
struct wlr_device_manager *wlr_linux_device_manager_create(struct wlr_session *session);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue