mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
backend/session: decouple udev
This commit is contained in:
parent
68764dc6ac
commit
326bd749ee
5 changed files with 249 additions and 161 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <wayland-server-core.h>
|
||||
|
||||
struct libseat;
|
||||
struct drm_event_monitor;
|
||||
|
||||
/**
|
||||
* An opened physical device.
|
||||
|
|
@ -45,9 +46,8 @@ struct wlr_session {
|
|||
|
||||
char seat[256];
|
||||
|
||||
struct udev *udev;
|
||||
struct udev_monitor *mon;
|
||||
struct wl_event_source *udev_event;
|
||||
struct drm_event_monitor *drm_handle;
|
||||
struct wl_event_source *drm_event;
|
||||
|
||||
struct libseat *seat_handle;
|
||||
struct wl_event_source *libseat_event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue